[openstack-dev] [all] [devstack] command tox with error in mitaka

zhaolihuisky zhaolihuisky at aliyun.com
Thu Apr 14 09:53:57 UTC 2016


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 <module>
    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 <module>
    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?
Best Regardszhaolihui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160414/b707f9de/attachment.html>


More information about the OpenStack-dev mailing list