Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.8无法安装qcloud-cos #15

Open
shadowabi opened this issue Oct 12, 2022 · 7 comments
Open

python3.8无法安装qcloud-cos #15

shadowabi opened this issue Oct 12, 2022 · 7 comments

Comments

@shadowabi
Copy link

Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: http://mirrors.tencentyun.com/pypi/simple
Collecting qcloud-cos
Downloading http://mirrors.tencentyun.com/pypi/packages/ec/ee/0f314f3e4d97c6b08193422e2436f5fc0af75523d2a7f29e587b73a2b65b/qcloud_cos-3.3.6.tar.gz (10 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Sorry, only python 2.6 or 2.7 is supported
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

@est6633
Copy link

est6633 commented Nov 21, 2022

师傅你解决了吗

@shadowabi
Copy link
Author

师傅你解决了吗

没有很好的解决方法,我这边是把requirements.txt里的qcloud-cos直接注释掉了

@Tsunamori
Copy link

改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。

@shadowabi
Copy link
Author

改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。

好的

@est6633
Copy link

est6633 commented Mar 5, 2023

改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。

ImportError: cannot import name 'CosS3Client' from 'qcloud_cos' 改成qcloud-cos-python3过后会报这个错

@CuriousLearnerDev
Copy link

问题已经解决安装cos-python-sdk-v5库就可以了

@ldz0
Copy link

ldz0 commented Oct 31, 2023

问题已经解决安装cos-python-sdk-v5库就可以了

还是不行啊
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants