安装腾讯云COS STS SDK出错
pip install -U qcloud-python-sts
Collecting qcloud-python-sts
Using cached qcloud-python-sts-3.1.1.tar.gz (5.9 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\ASUS\AppData\Local\Temp\pip-install-53oxd8ko\qcloud-python-sts_65135f2bf0d748e49e7ba80878ae6350\setup.py", line 5, in <module>
long_description = fh.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x8b in position 82: illegal multibyte sequence
[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.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
python版本是3.9