Problem installing Deep Learning Toolbox Importer for Keras Models
3 views (last 30 days)
Show older comments
I am running Matlab 2021a with Update 4 on a MacBookPro with MacOS 11.4 and all updates installed.
When I try to install the Deep Learning Toolbox Importer for Keras Models, I get the following error:
Install Folder Error
This folder name is invalid. Folder names can contain alphanumeric characters and '-', '_', '.', or '/' only. The destination folder cannot be named "private".
This happens when I click the Install button and also when I download first then install.
1 Comment
Amanjit Dulai
on 11 Aug 2021
One possible cause is that the support package path has a whitespace character somewhere in it. You can view this path with this command in MATLAB:
matlabshared.supportpkg.getSupportPackageRoot
You can set a new path using the command matlabshared.supportpkg.setSupportPackageRoot. For example if we want to set the path to '/Users/<username>/Documents/MATLAB/SupportPackages' where <username> is your Mac user name, we would do the following (we would need to replace <username> with the actual user name):
matlabshared.supportpkg.setSupportPackageRoot('/Users/<username>/Documents/MATLAB/SupportPackages')
We can then use matlabshared.supportpkg.getSupportPackageRoot to confirm the path has been set correctly. After setting a support package path where there are no spaces or other illegal characters, it should be possible to install the support package.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!