zhaolihuisky wrote:
Hi everyone
Install devstack by http://docs.openstack.org/developer/devstack/
Install tox by
docs.openstack.org/project-team-guide/project-setup/python.html
command 'tox', the error log:
pip-missing-reqs runtests: PYTHONHASHSEED='952003835'
pip-missing-reqs runtests: commands[0] | pip-missing-reqs -d
--ignore-file=nova/tests/* --ignore-file=nova/test.py nova
Traceback (most recent call last):
File ".tox/pip-missing-reqs/bin/pip-missing-reqs", line 7, in
from pip_missing_reqs.find_missing_reqs import main
File
"/opt/stack/nova/.tox/pip-missing-reqs/local/lib/python2.7/site-packages/pip_missing_reqs/find_missing_reqs.py",
line 14, in
from pip.utils import get_installed_distributions, normalize_name
ImportError: cannot import name normalize_name
ERROR: InvocationError:
'/opt/stack/nova/.tox/pip-missing-reqs/bin/pip-missing-reqs -d
--ignore-file=nova/tests/* --ignore-file=nova/test.py nova
'
summary
ERROR: py34: could not install deps
[-r/opt/stack/nova/test-requirements.txt]; v =
InvocationError('/opt/stack/nova/.tox/py34/bin/pip install -
chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
-r/opt/stack/nova/test-requirements.txt (see
/opt/stack/nova/.tox/py34/log/py34-1.log)', 1)ERROR: py27: commands
failed
functional: commands succeeded
pep8: commands succeeded
ERROR: pip-missing-reqs: commands failed
Is there any suggestion?
I think your pip is too old. Please upgrade it, f.e. by doing pip install
--user -U pip. [When using --user, make sure your .local/bin is in PATH].
Ihar
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev