如何在virtualenv中降级Cython?如何在virtualenv中降级Cython?
我创造这样的:
virtualenv -p python3.4 .
pip install cython
那么安装的版本Cython-0.22.1.tar.gz
。 但是,我试图在virtualenv中安装Kivy
,显然Cython有一个错误,当安装该版本的Cython时,它不允许pip install kivy
成功完成。有些人提到你必须降级Cython,以便让Kivy编译。
所以,我想:
pip uninstall cython
pip install cython 0.20
这给了我:
Using cached Cython-0.22.1.tar.gz
Collecting 0.21.2
Could not find a version that satisfies the requirement 0.21.2 (from versions:)
No matching distribution found for 0.21.2
因此,似乎用Cython的旧版本是某种不可用?
那我该如何降级呢?
编辑#1:中pip --version
输出:7.1.0
我猜你正在寻找'PIP安装用Cython == 0.20' – cel
让我猜猜这是什么的,Kivy。 –