0
点赞
收藏
分享

微信扫一扫

pip install volcengine-python-sdk报错


使用MetaGPT,配环境的时候,报错信息为:
error: could not create ‘build\lib\volcenginesdktransitrouter\models\transit_router_traffic_qos_marking_policy_for_describe_transit_router_traffic_qos_marking_policies_output.py’: No such file or directory

这是因为由于 Windows 系统有最长路径限制,可能会导致安装失败。这个包的保存路径名字特别长。
解决方法如下:

  1. 按下 Win+R ,输入 regedit 打开注册表编辑器。
  2. 设置 \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem 路径下的变量 LongPathsEnabled 为 1 即可。



举报

相关推荐

0 条评论