问题描述
我的环境:Windows10 64、Python 3.7、Django 2.2、IDE:VSC
我安装了 env 并激活了。我正在尝试使用命令安装 djangorestframework
pipenv install djangorestframework
错误:
WARNING: Retrying (Retry(total=0,connect=None,read=None,redirect=None,status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.',timeout('_ssl.c:1074: The handshake operation timed out'))': /simple/djangorestframework/
ERROR: Could not find a version that satisfies the requirement djangorestframework
ERROR: No matching distribution found for djangorestframework
这是我在我的环境中安装的内容。
python -m pip list
Package Version
------------------- -------
astroid 2.4.2
colorama 0.4.4
Django 2.2
isort 5.6.4
lazy-object-proxy 1.4.3
mccabe 0.6.1
pip 20.3
pylint 2.6.0
pylint-django 2.3.0
pylint-plugin-utils 0.6
pytz 2020.4
setuptools 50.3.2
six 1.15.0
sqlparse 0.4.1
toml 0.10.2
typed-ast 1.4.1
wheel 0.35.1
wrapt 1.12.1
当我存在 env 并尝试 pip install djangorestframe 时,它起作用了。我在 env 中错过了什么?请帮我安装这个框架。谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)