[openstack-dev] [Nova] Tox issues on a clean environment
Gary Kotton
gkotton at vmware.com
Thu Mar 6 16:14:23 UTC 2014
Hi,
Anyone know how I cam solve the error below:
Running setup.py install for jsonpatch
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_poimts'
warnings.warn(msg)
changing mode of build/scripts-2.7/jsondiff from 664 to 775
changing mode of build/scripts-2.7/jsonpatch from 664 to 775
changing mode of /home/gk-dev/nova/.tox/py27/bin/jsonpatch to 775
changing mode of /home/gk-dev/nova/.tox/py27/bin/jsondiff to 775
Found existing installation: distribute 0.6.24dev-r0
Not uninstalling distribute at /usr/lib/python2.7/dist-packages, outside environment /home/gk-dev/nova/.tox/py27
Running setup.py install for setuptools
Installing easy_install script to /home/gk-dev/nova/.tox/py27/bin
Installing easy_install-2.7 script to /home/gk-dev/nova/.tox/py27/bin
Running setup.py install for mccabe
Running setup.py install for cffi
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/gk-dev/nova/.tox/py27/build/cffi/setup.py", line 94, in <module>
from setuptools import setup, Feature, Extension
ImportError: cannot import name Feature
Complete output from command /home/gk-dev/nova/.tox/py27/bin/python2.7 -c "import setuptools;__file__='/home/gk-dev/nova/.tox/py27/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-2sWKRK-record/install-record.txt --single-version-externally-managed --install-headers /home/gk-dev/nova/.tox/py27/include/site/python2.7:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/gk-dev/nova/.tox/py27/build/cffi/setup.py", line 94, in <module>
from setuptools import setup, Feature, Extension
ImportError: cannot import name Feature
----------------------------------------
Cleaning up...
Command /home/gk-dev/nova/.tox/py27/bin/python2.7 -c "import setuptools;__file__='/home/gk-dev/nova/.tox/py27/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-2sWKRK-record/install-record.txt --single-version-externally-managed --install-headers /home/gk-dev/nova/.tox/py27/include/site/python2.7 failed with error code 1 in /home/gk-dev/nova/.tox/py27/build/cffi
Traceback (most recent call last):
File ".tox/py27/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
File "/home/gk-dev/nova/.tox/py27/local/lib/python2.7/site-packages/pip/__init__.py", line 148, in main
parser.print_help()
File "/home/gk-dev/nova/.tox/py27/local/lib/python2.7/site-packages/pip/basecommand.py", line 169, in main
log_file_fp.write(text)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)
ERROR: could not install deps [-r/home/gk-dev/nova/requirements.txt, -r/home/gk-dev/nova/test-requirements.txt]
Thanks
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140306/ecd8db65/attachment.html>
More information about the OpenStack-dev
mailing list