[openstack-dev] [Nova] Tox issues on a clean environment
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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Nova] Tox issues on a clean environment
I am having a very similar issue with horizon, just today. I cloned the repo and started from scratch on master. tools/install_venv.py is trying to install cffi as a depdendency, ultimately fails with ImportError: cannot import name Feature This is Fedora 19. I know some folks on Fedora 20 who are not having this issue. I'm guessing it's a version thing... Trevor On Thu, 2014-03-06 at 08:14 -0800, Gary Kotton wrote: 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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Nova] Tox issues on a clean environment
On Thu, 2014-03-06 at 08:14 -0800, Gary Kotton wrote: 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 Apparently, quite recently, a new version of setuptools was released that eliminated the Feature class. From what I understand, the class has been deprecated for quite a while, but the removal still seems to have taken some consumers by surprise; we discovered it when a package that uses MarkupSafe failed tests with the same error today. We may have to consider a short-term pin to the version of setuptools (if that's even possible) on projects that encounter the problem… -- Kevin L. Mitchell kevin.mitch...@rackspace.com Rackspace ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev