我在使用代理的公司互联网中
我运行命令
pip install --trusted-host pypi.org --trusted-host files.python hosted.org --proxy=http://721094:Fafafa51..@proxy.pucminas.br:80 flask_restful
它运行完美,但是当我尝试运行时
pip install --trusted-host pypi.org --trusted-host files.python hosted.org --proxy=http://721094:Fafafa51..@proxy.pucminas.br:80 cryptography
我遇到一个错误:
HTTP error 403 while getting https://files.pythonhosted.org/packages/25/c0/e46342325e9d1faf2d3d8b12acadb527e283a5cd4455dc95d98f453df876/cryptography-2.4.1-cp36-cp36m-win_amd64.whl#sha256=b0833d27c7eb536bc27323a1e8e22cb39ebac78c4ef3be0167ba40f447344808 (from https://pypi.org/simple/cryptography/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*)
Could not install requirement cryptography from https://files.pythonhosted.org/packages/25/c0/e46342325e9d1faf2d3d8b12acadb527e283a5cd4455dc95d98f453df876/cryptography-2.4.1-cp36-cp36m-win_amd64.whl#sha256=b0833d27c7eb536bc27323a1e8e22cb39ebac78c4ef3be0167ba40f447344808 because of error 403 Client Error: MediaTypeBlocked for url: https://files.pythonhosted.org/packages/25/c0/e46342325e9d1faf2d3d8b12acadb527e283a5cd4455dc95d98f453df876/cryptography-2.4.1-cp36-cp36m-win_amd64.whl
该如何解决?
这很奇怪,因为我能够安装一些库,但是无法安装密码库
我使用了一些需要加密库的代码,但不会为我安装
我的python版本是3.6.6.1