Open shadowabi opened 1 year ago
师傅你解决了吗
师傅你解决了吗
没有很好的解决方法,我这边是把requirements.txt里的qcloud-cos直接注释掉了
改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。
改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。
好的
改成qcloud-cos-python3。本来有人交了PR的,没合并进来,只能自己手动改了。
ImportError: cannot import name 'CosS3Client' from 'qcloud_cos' 改成qcloud-cos-python3过后会报这个错
问题已经解决安装cos-python-sdk-v5库就可以了
问题已经解决安装cos-python-sdk-v5库就可以了
还是不行啊
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.