Koh*_*URA 5 python django pip setuptools python-3.x
我是新手Python/Django程序员.
我创建了一个基于Django 2.0的应用程序,并根据官方文档打包它.然后我运行命令:
$ pip install --user django-easybuggy-0.1.tar.gz
Run Code Online (Sandbox Code Playgroud)
但是,我收到错误,无法安装.
Processing ./django-easybuggy-0.1.tar.gz
Collecting certifi==2018.1.18 (from django-easybuggy==0.1)
Could not find a version that satisfies the requirement certifi==2018.1.18 (from django-easybuggy==0.1) (from versions: )
No matching distribution found for certifi==2018.1.18 (from django-easybuggy==0.1)
Run Code Online (Sandbox Code Playgroud)
有谁知道错误发生的原因以及如何解决?
另外,我requirements.txt通过命令创建:
$ pip freeze > requirements.txt
Run Code Online (Sandbox Code Playgroud)
重现步骤:
下载我的应用档案:
$ wget https://github.com/k-tamura/easybuggy4django/releases/download/0.0.1/django-easybuggy-0.1.tar.gz
Run Code Online (Sandbox Code Playgroud)运行命令:
$ pip install --user django-easybuggy-0.1.tar.gz
Run Code Online (Sandbox Code Playgroud)最好的祝福,
我可以通过添加选项来解决我的问题:
--proxy=http://[proxy_user_id]:[proxy_user_password]@[proxy_host]:[proxy_port]/ --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org
Run Code Online (Sandbox Code Playgroud)
到pip install。
| 归档时间: |
|
| 查看次数: |
7526 次 |
| 最近记录: |