Closed duanyukai closed 4 years ago
When trying pip install -U cos-python-sdk-v5 on Windows 10 with python 3.7, the cmd gave the following error.
pip install -U cos-python-sdk-v5
ERROR: Command errored out with exit status 1: command: 'd:\xxx\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\xxx\\AppData\\Local\\Temp\\pip-install-93tth04c\\cos-python-sdk-v5\\setup.py'"'"'; __file__='"'"'C:\\Users\\xxx\\AppData\\Local\\Temp\\pip-install-93tth04c\\cos-python-sdk-v5\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\xxx\AppData\Local\Temp\pip-pip-egg-info-xbraocxr' cwd: C:\Users\xxx\AppData\Local\Temp\pip-install-93tth04c\cos-python-sdk-v5\ Complete output (7 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\xxx\AppData\Local\Temp\pip-install-93tth04c\cos-python-sdk-v5\setup.py", line 25, in <module> long_description=long_description(), File "C:\Users\xxx\AppData\Local\Temp\pip-install-93tth04c\cos-python-sdk-v5\setup.py", line 14, in long_description return fileobj.read() UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 360: illegal multibyte sequence ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
trying utf8 env or update the sdk
update to 1.8.9 will solve this problem
When trying
pip install -U cos-python-sdk-v5
on Windows 10 with python 3.7, the cmd gave the following error.