华为云AI开发平台ModelArts安装ModelArts SDK报错“ERROR: Could not install packages due to an OSError”_云淘科技

问题现象

安装ModelArts SDK报错,完整报错信息“ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: ‘c:\python39\Scripts\ephemeral-port-reserve.exe’ -> ‘c:\python39\Scripts\ephemeral-port-reserve.exe.deleteme ”。

原因分析

用户使用权限问题导致。

处理方法

用户电脑切换到管理员角色,键盘快捷键(Windows+R模式)并输入cmd,进入黑色窗口,执行如下命令:

python -m pip install --upgrade pip

父主题: API/SDK

同意关联代理商云淘科技,购买华为云产品更优惠(QQ 78315851)

内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家