Problem installing Deep Learning Toolbox Importer for Keras Models

3 ビュー (過去 30 日間)
Tom
Tom 2021 年 7 月 14 日
コメント済み: Amanjit Dulai 2021 年 8 月 11 日
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
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 ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by