腾讯云推荐的对象存储sdk安装:
pip install -U cos-python-sdk-v5
总是报错:
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
pycryptodome from https://files.pythonhosted.org/packages/5d/db/d6ffeda52c748373a3a19bb16c449990655064bc84982086b0f0657887af/pycryptodome-3.9.9-cp36-cp36m-win_amd64.whl#sha256=60febcf5baf70c566d9d9351c47fbd8321da9a4edf2eff45c4c31c86164ca794 (from cos-python-sdk-v5):
Expected sha256 60febcf5baf70c566d9d9351c47fbd8321da9a4edf2eff45c4c31c86164ca794
Got a3b798dd93844af68f612daa31bad3a51b4b72db5426364249e91362c636ae9c
解决办法:
pip install --upgrade -U cos-python-sdk-v5