UzJu / Cloud-Bucket-Leak-Detection-Tools

六大云存储,泄露利用检测工具
MIT License
1.02k stars 133 forks source link

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

Open shadowabi opened 1 year ago

shadowabi commented 1 year ago

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 commented 1 year ago

师傅你解决了吗

shadowabi commented 1 year ago

师傅你解决了吗

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

Tsunamori commented 1 year ago

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

shadowabi commented 1 year ago

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

好的

est6633 commented 1 year ago

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

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

CuriousLearnerDev commented 8 months ago

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

ldz0 commented 8 months ago

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

还是不行啊 image