由于本人要用百度云的BOS对象存储,安装SDK之前需要安装Pycrypto这个包,按了好长的时间一直报错,现在在网上搜了好多答案,综合起来,终于解决了,简单高效。如下:

python.exe -m pip install --no-index --find-links=https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl pycrypto
Looking in links: https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl
Collecting pycrypto
  Downloading https://github.com/sfbahr/PyCrypto-Wheels/raw/master/pycrypto-2.6.1-cp35-none-win_amd64.whl (522kB)
     |████████████████████████████████| 532kB 8.1kB/s
Installing collected packages: pycrypto
Successfully installed pycrypto-2.6.1

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐