volcengine / volcengine-python-sdk

Apache License 2.0
56 stars 7 forks source link

ERROR: Could not build wheels for volcengine-python-sdk, which is required to install pyproject.toml-based projects #7

Open zy2021314 opened 2 months ago

zy2021314 commented 2 months ago

conda新建环境pip install 'volcengine-python-sdk[ark]' 安装对应包时出现下列报错: py -> build\bdist.win-amd64\wheel.\volcenginesdkprivatelink\models copying build\lib\volcenginesdkprivatelink\models\private_dns_name_configuration_for_describe_vpc_endpoint_services_by_end_user_output.py -> build\bdist.win-amd64\wheel.\volcenginesdkprivatelink\models error: could not create 'build\bdist.win-amd64\wheel.\volcenginesdkprivatelink\models\private_dns_name_configuration_for_describe_vpc_endpoint_services_by_end_user_output.py': No such file or directory [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for volcengine-python-sdk Running setup.py clean for volcengine-python-sdk Failed to build volcengine-python-sdk ERROR: Could not build wheels for volcengine-python-sdk, which is required to install pyproject.toml-based projects

PiggyCh commented 1 month ago

same , any solution?

yaoyin2014 commented 1 month ago

我也遇到同样的问题了,官网下载安装的python版本3.12.4,pip install 'volcengine-python-sdk[ark]'的时候同样的报错

pluto679 commented 1 month ago

我也遇到了,不得不说字节这个文档做的真是垃圾

PiggyCh commented 1 month ago

Hey guys, if you use Windows, the problem might be that the file private_dns_name_configuration_for_describe_vpc_endpoint_services_by_end_user_output.py has a name that is too long for the system to allow. The solution can be found here: https://github.com/volcengine/volcengine-python-sdk/issues/5.

huanghfzhufeng commented 1 month ago

嘿,伙计们,如果您使用 Windows,问题可能是文件private_dns_name_configuration_for_describe_vpc_endpoint_services_by_end_user_output.py的名称太长,系统无法允许。解决方案可以在这里找到:#5。

那具体是怎么解决的

jackjyq commented 4 weeks ago

嘿,伙计们,如果您使用 Windows,问题可能是文件private_dns_name_configuration_for_describe_vpc_endpoint_services_by_end_user_output.py的名称太长,系统无法允许。解决方案可以在这里找到:#5。

那具体是怎么解决的

改注册表,请参考 #5