pip install 不获取最新版本

Pip install does not fetch the latest version

我想安装最新的 django-froala-editor 版本。

但是 pip install 继续安装 django-froala-editor 版本 2.0.1。

重现问题的步骤。

(使用 virtualenvwrapper 来简化测试)

mktmpenv
pip search froala
pip install django-froala-editor

已安装版本 2.0.1,即使 2.3.2present on the pypi website 并且 pip 搜索显示 2.1.0 版本。

OS.

OS X 优胜美地 10.10.5, 点子版本 8.1.2, python2.7

如果无法从 pypi 获取最新版本,请直接从 git 安装:

pip install git+https://github.com/froala/django-froala-editor

这可以作为 git+https://github.com/froala/django-froala-editor

包含在您的 requirements.txt 中

一般来说,

pip install git+{url to repo}