Re: [scikit-image] Compilation Problems
I also tried to install scikit-image another way. And got errors:
pip install scikit-image --user
Complete output from command /usr/local/python/2.7.9/gnu/bin/python -u -c "import setuptools, tokenize;__file__='/p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /workspace/guest/pip-_PsWy1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying subprocess32.py -> build/lib.linux-x86_64-2.7 running build_ext failed to import Cython: /usr/local/python/2.7.9/gnu/lib/python2.7/site-packages/Cython-0.23.4-py2.7-linux-x86_64.egg/Cython/Compiler/Scanning.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8 error: Cython does not appear to be installed ---------------------------------------- Command "/usr/local/python/2.7.9/gnu/bin/python -u -c "import setuptools, tokenize;__file__='/p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /workspace/guest/pip-_PsWy1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/ You are using pip version 8.1.0, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. So, it complains about cython. But cython is already installed:
pip install cython --user Requirement already satisfied (use --upgrade to upgrade): cython in /p/home/usr/local/python/2.7.9/gnu/lib/python2.7/site-packages/Cython-0.23.4-py2.7-linux-x86_64.egg
I'm not sure what to do next.
Hi James Please try: pip uninstall cython pip install cython Thanks Stéfan On Tue, Jan 17, 2017, at 10:39, James Board via scikit-image wrote:
I also tried to install scikit-image another way. And got errors:
pip install scikit-image --user
Complete output from command /usr/local/python/2.7.9/gnu/bin/python -u -c "import setuptools, tokenize;__file__='/p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /workspace/guest/pip-_PsWy1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying subprocess32.py -> build/lib.linux-x86_64-2.7 running build_ext failed to import Cython: /usr/local/python/2.7.9/gnu/lib/python2.7/site-packages/Cython-0.23.4-py2.7-linux-x86_64.egg/Cython/Compiler/Scanning.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8 error: Cython does not appear to be installed
---------------------------------------- Command "/usr/local/python/2.7.9/gnu/bin/python -u -c "import setuptools, tokenize;__file__='/p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /workspace/guest/pip-_PsWy1-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /p/work2/workspace/guest/pip-build-L2pBBW/subprocess32/ You are using pip version 8.1.0, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
So, it complains about cython. But cython is already installed:
pip install cython --user Requirement already satisfied (use --upgrade to upgrade): cython in /p/home/usr/local/python/2.7.9/gnu/lib/python2.7/site-packages/Cython-0.23.4-py2.7-linux-x86_64.egg
I'm not sure what to do next.
participants (2)
-
James Board
-
Stefan van der Walt