Problem installing Deep Learning Toolbox Importer for Keras Models

3 Ansichten (letzte 30 Tage)
Tom
Tom am 14 Jul. 2021
Kommentiert: Amanjit Dulai am 11 Aug. 2021
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 Kommentar
Amanjit Dulai
Amanjit Dulai am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by