virtualenv in python2.5.2



我真的很陌生,我正在尝试使用virtualenv我正在运行 CentOS 5.8,起初它有 Python 2.4,所以我将其升级到 2.5.2但是现在当我运行virtualenv /test/a时,它仍然给出一个错误,如下所示:

Error: None
Error: this script requires Python 2.5 or greater
非常感谢任何

解决此问题的帮助。

注意:我使用以下方法安装了python:

wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
tar fxz Python-2.5.2.tgz
cd Python-2.5.2
./configure
make
make install

我在升级之前使用以下方法安装了 virtualenv:

yum install gcc python-virtualenv mysql-devel screen

"哪个用户"说/usr/bin/virtualenv

将 python 更新到 2.6 并且它起作用了。

最新更新