[英]Pip install does not fetch the latest version
I want to install the latest django-froala-editor
version. 我想安装最新的
django-froala-editor
版本。
But pip install
keeps installing the django-froala-editor
version 2.0.1. 但是
pip install
会继续安装django-froala-editor
版本2.0.1。
(using virtualenvwrapper to ease the test) (使用virtualenvwrapper简化测试)
mktmpenv
pip search froala
pip install django-froala-editor
The version 2.0.1
gets installed, even though the 2.3.2
is present on the pypi website and the pip search shows a 2.1.0
version. 即使pypi网站上存在
2.3.2
,并且pip搜索显示了2.1.0
版本,也会安装版本2.0.1
。
OS X Yosemity 10.10.5, pip version 8.1.2, python 2.7 OS X Yosemity 10.10.5,pip版本8.1.2,python 2.7
Install directly from git
if you can't get the latest version from pypi: 如果无法从pypi获取最新版本,则直接从
git
安装:
pip install git+https://github.com/froala/django-froala-editor
This can be included in your requirements.txt as git+https://github.com/froala/django-froala-editor
这可以作为
git+https://github.com/froala/django-froala-editor
包含在您的requirements.txt中
Generally, 通常,
pip install git+{url to repo}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.