volcengine / volcengine-python-sdk

Apache License 2.0
68 stars 8 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 4 months ago

zy2021314 commented 4 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 4 months ago

same , any solution?

yaoyin2014 commented 3 months ago

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

pluto679 commented 3 months ago

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

PiggyCh commented 3 months 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 3 months ago

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

那具体是怎么解决的

jackjyq commented 3 months ago

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

那具体是怎么解决的

改注册表,请参考 #5

ChenHackerGit commented 2 months ago

臣附议,文档里也不提醒一下

wmpeng commented 3 weeks ago

确实,隐藏在特别特别深的文档里。自己的文档写的真是,一言难尽。sdk设计的也是很,乱七八糟的 https://api.volcengine.com/api-sdk/view?serviceCode=ecs&version=2020-04-01&language=Python

stellarkey commented 1 week ago

蚌埠住了,文档管理有点混乱