Problem installing Deep Learning Toolbox Importer for Keras Models
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Amanjit Dulai
2021-8-11
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!