[openstack-dev] unable to run tox due to the '--pre' argument
Jeremy Stanley
fungi at yuggoth.org
Thu Sep 19 01:02:29 UTC 2013
On 2013-09-19 08:12:47 +0800 (+0800), Yongsheng Gong wrote:
[...]
> $ tox -e py27
[...]
> no such option: --pre
[...]
> $ tox --version
> 1.6.1 imported from /usr/local/lib/python2.7/dist-packages/tox/
> __init__.pyc
> $ pip --version
> pip 1.4.1 from /usr/local/lib/python2.7/dist-packages/
> pip-1.4.1-py2.7.egg (python 2.7)
[...]
You may have an existing .tox/py27 virtualenv with an earlier
version of pip already installed and tox is reusing it. Running
'.tox/py27/bin/pip --version' should tell you. If you pass the -r
switch to tox when running like 'tox -e py27 -r' it should clear any
existing virtualenv and create a fresh one, or you can upgrade the
pip inside it with '.tox/py27/bin/pip install -U pip' if you want.
--
Jeremy Stanley
More information about the OpenStack-dev
mailing list