安装环境的时候遇到安装volcengine-python-sdk (setup.py)报错
Building wheel for volcengine-python-sdk (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [3791 lines of output]
使用了官网给出的解决方案
https://api.volcengine.com/api-sdk/view?serviceCode=CDN&version=2021-03-01&language=Python
由于 Windows 系统有最长路径限制,可能会导致安装失败,请按照以下方式设置:
按下 Win+R ,输入 regedit 打开注册表编辑器。 设置
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem 路径下的变量
LongPathsEnabled 为 1 即可。
成功安装