I installed Cython 0.24.1 on my Raspberry Pi by doing this:
Pasted below is the command and terminal output.
pi#raspberrypi:~ $ sudo pip3 install --upgrade cython==0.24.1
Downloading/unpacking cython==0.24.1
Downloading Cython-0.24.1.tar.gz (1.7MB): 1.7MB downloaded
Running setup.py (path:/tmp/pip-build-hprgsgiw/cython/setup.py) egg_info for package cython
Unable to find pgen, not compiling formal grammar.
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installing collected packages: cython
Running setup.py install for cython
Unable to find pgen, not compiling formal grammar.
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Scanners.py to /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Scanners.c
building 'Cython.Plex.Scanners' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Scanners.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Plex/Scanners.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Plex/Scanners.o -o build/lib.linux-armv7l-3.4/Cython/Plex/Scanners.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Actions.py to /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Actions.c
building 'Cython.Plex.Actions' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Plex/Actions.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Plex/Actions.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Plex/Actions.o -o build/lib.linux-armv7l-3.4/Cython/Plex/Actions.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Lexicon.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Lexicon.c
building 'Cython.Compiler.Lexicon' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Lexicon.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Lexicon.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Lexicon.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/Lexicon.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Scanning.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Scanning.c
building 'Cython.Compiler.Scanning' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Scanning.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Scanning.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Scanning.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/Scanning.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Parsing.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Parsing.c
building 'Cython.Compiler.Parsing' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Parsing.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Parsing.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Parsing.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/Parsing.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Visitor.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Visitor.c
building 'Cython.Compiler.Visitor' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Visitor.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Visitor.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Visitor.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/Visitor.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/FlowControl.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/FlowControl.c
building 'Cython.Compiler.FlowControl' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/FlowControl.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/FlowControl.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/FlowControl.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/FlowControl.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Code.py to /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Code.c
building 'Cython.Compiler.Code' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Code.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Code.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Compiler/Code.o -o build/lib.linux-armv7l-3.4/Cython/Compiler/Code.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Runtime/refnanny.pyx to /tmp/pip-build-hprgsgiw/cython/Cython/Runtime/refnanny.c
building 'Cython.Runtime.refnanny' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Runtime/refnanny.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Runtime/refnanny.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Runtime/refnanny.o -o build/lib.linux-armv7l-3.4/Cython/Runtime/refnanny.cpython-34m.so
cythoning /tmp/pip-build-hprgsgiw/cython/Cython/Tempita/_tempita.py to /tmp/pip-build-hprgsgiw/cython/Cython/Tempita/_tempita.c
building 'Cython.Tempita._tempita' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c /tmp/pip-build-hprgsgiw/cython/Cython/Tempita/_tempita.c -o build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Tempita/_tempita.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/tmp/pip-build-hprgsgiw/cython/Cython/Tempita/_tempita.o -o build/lib.linux-armv7l-3.4/Cython/Tempita/_tempita.cpython-34m.so
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Installing cygdb script to /usr/local/bin
Installing cython script to /usr/local/bin
Installing cythonize script to /usr/local/bin
Successfully installed cython
Cleaning up...
Looks like the installation has completed fine. But after this, if I do the following, it still return the old version. What am I missing?
pi#raspberrypi:~ $ python3 -c "import cython;print(cython.__version__)"
0.21.1
From the log, I can read Installing cython script to /usr/local/bin. I extrapolate that the library has installed in /usr/local/python3something. Two alternatives:
re-install using pip3 install --user --upgrade cython==0.24.1 and make sure that ~/.local/bin is in your PATH environment variable.
add /usr/local/bin to your PATH environment variable and /usr/local/python3something/site-packages to your LD_LIBRARY_PATH environment variable.
Indeed, the python3something part must be changed to reflect the exact path on your system. Option "1" above should work even if my extrapolation is wrong.
I have been trying to install banyan python modules to run python scripts.
I thought that it can be easily installed by using python command "pip install banyan"
However, I got error messages against my expectation. My gcc version is 4.4.7 and python 2.6.
and below large sentences are my error log files.
Can you give me suggestions how to fix my problems? I have already read the related previously posts
but I cannot solve it and every required modules is already installed with latest versions.
and never mind "gcc: unrecognized option '-Qunused-arguments'. It doesn't matter to my problem.
/usr/bin/pip run on Wed Oct 15 22:54:27 2014
Downloading/unpacking banyan
Running setup.py egg_info for package banyan
running egg_info
writing pip-egg-info/Banyan.egg-info/PKG-INFO
writing top-level names to pip-egg-info/Banyan.egg-info/top_level.txt
writing dependency_links to pip-egg-info/Banyan.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/Banyan.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/Banyan.egg-info/SOURCES.txt'
Source in /tmp/pip-build-sclee1/banyan has version 0.1.5, which satisfies requirement banyan
Installing collected packages: banyan
Running setup.py install for banyan
Running command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-sclee1/banyan/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CZTp63-record/install-record.txt --single-version-externally-managed
running install
running build
running build_py
running build_ext
building 'banyan_c' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/module.cpp -o build/temp.linux-x86_64-2.6/banyan/module.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/set_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/set_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/min_gap_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/min_gap_metadata.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/frozen_set_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/frozen_set_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/tree.cpp -o build/temp.linux-x86_64-2.6/banyan/tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/rank_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/rank_metadata.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/node.cpp -o build/temp.linux-x86_64-2.6/banyan/node.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/frozen_dict_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/frozen_dict_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/dict_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/dict_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/tree_view.cpp -o build/temp.linux-x86_64-2.6/banyan/tree_view.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
banyan/tree_view.cpp: In function ‘void tree_view_dealloc(TreeView*)’:
banyan/tree_view.cpp:37: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/tree_view.cpp:39: warning: suggest explicit braces to avoid ambiguous ‘else’
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/overlapping_intervals_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/overlapping_intervals_metadata.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/_int_imp/_pyobject_utils.cpp -o build/temp.linux-x86_64-2.6/banyan/_int_imp/_pyobject_utils.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
banyan/_int_imp/_pyobject_utils.cpp: In destructor ‘_CachedKeyPyObject::~_CachedKeyPyObject()’:
banyan/_int_imp/_pyobject_utils.cpp:416: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_pyobject_utils.cpp:418: warning: suggest explicit braces to avoid ambiguous ‘else’
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/_int_imp/_build_tree_imp.cpp -o build/temp.linux-x86_64-2.6/banyan/_int_imp/_build_tree_imp.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
In file included from banyan/_int_imp/_tree_imp_metadata_base.hpp:14,
from banyan/_int_imp/_tree_imp_lt_base.hpp:6,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp: In constructor ‘_PyObjectCachedKeyUniqueSorterIncer<true>::_PyObjectCachedKeyUniqueSorterIncer(PyObject*, const _CachedKeyPyObjectCacheGeneratorLT&)’:
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp:33: error: using ‘typename’ outside of template
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp:35: error: using ‘typename’ outside of template
In file included from banyan/_int_imp/_tree_imp_lt_base.hpp:10,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp: In member function ‘__MinGapMetadata<PyObject*>& __MinGapMetadata<PyObject*>::operator=(const __MinGapMetadata<PyObject*>::ThisT&)’:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:195: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp: In member function ‘void __MinGapMetadata<PyObject*>::update(PyObject*, const __MinGapMetadata<PyObject*>::ThisT*, const __MinGapMetadata<PyObject*>::ThisT*)’:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:206: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:208: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:210: warning: suggest explicit braces to avoid ambiguous ‘else’
In file included from banyan/_int_imp/_tree_imp_lt_base.hpp:11,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In member function ‘_PyObjectIntervalMaxMetadata& _PyObjectIntervalMaxMetadata::operator=(const _PyObjectIntervalMaxMetadata&)’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:59: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In destructor ‘virtual _PyObjectIntervalMaxMetadata::~_PyObjectIntervalMaxMetadata()’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:73: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In member function ‘void _PyObjectIntervalMaxMetadata::update(PyObject*, const _PyObjectIntervalMaxMetadata*, const _PyObjectIntervalMaxMetadata*)’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:80: warning: suggest explicit braces to avoid ambiguous ‘else’
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-sclee1/banyan/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CZTp63-record/install-record.txt --single-version-externally-managed:
running install
running build
running build_py
running build_ext
building 'banyan_c' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/module.cpp -o build/temp.linux-x86_64-2.6/banyan/module.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/set_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/set_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/min_gap_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/min_gap_metadata.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/frozen_set_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/frozen_set_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/tree.cpp -o build/temp.linux-x86_64-2.6/banyan/tree.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/rank_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/rank_metadata.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/node.cpp -o build/temp.linux-x86_64-2.6/banyan/node.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/frozen_dict_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/frozen_dict_tree.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/dict_tree.cpp -o build/temp.linux-x86_64-2.6/banyan/dict_tree.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/tree_view.cpp -o build/temp.linux-x86_64-2.6/banyan/tree_view.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
banyan/tree_view.cpp: In function ‘void tree_view_dealloc(TreeView*)’:
banyan/tree_view.cpp:37: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/tree_view.cpp:39: warning: suggest explicit braces to avoid ambiguous ‘else’
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/overlapping_intervals_metadata.cpp -o build/temp.linux-x86_64-2.6/banyan/overlapping_intervals_metadata.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/_int_imp/_pyobject_utils.cpp -o build/temp.linux-x86_64-2.6/banyan/_int_imp/_pyobject_utils.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
banyan/_int_imp/_pyobject_utils.cpp: In destructor ‘_CachedKeyPyObject::~_CachedKeyPyObject()’:
banyan/_int_imp/_pyobject_utils.cpp:416: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_pyobject_utils.cpp:418: warning: suggest explicit braces to avoid ambiguous ‘else’
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Qunused-arguments -Qunused-arguments -fPIC -I/usr/local/include -Ibanyan -I/usr/include/python2.6 -c banyan/_int_imp/_build_tree_imp.cpp -o build/temp.linux-x86_64-2.6/banyan/_int_imp/_build_tree_imp.o
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-arguments'
In file included from banyan/_int_imp/_tree_imp_metadata_base.hpp:14,
from banyan/_int_imp/_tree_imp_lt_base.hpp:6,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp: In constructor ‘_PyObjectCachedKeyUniqueSorterIncer<true>::_PyObjectCachedKeyUniqueSorterIncer(PyObject*, const _CachedKeyPyObjectCacheGeneratorLT&)’:
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp:33: error: using ‘typename’ outside of template
banyan/_int_imp/_tree_imp_pyobject_cached_key_value_type_set_base.hpp:35: error: using ‘typename’ outside of template
In file included from banyan/_int_imp/_tree_imp_lt_base.hpp:10,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp: In member function ‘__MinGapMetadata<PyObject*>& __MinGapMetadata<PyObject*>::operator=(const __MinGapMetadata<PyObject*>::ThisT&)’:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:175: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp: In destructor ‘virtual __MinGapMetadata<PyObject*>::~__MinGapMetadata()’:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:195: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:197: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:199: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp: In member function ‘void __MinGapMetadata<PyObject*>::update(PyObject*, const __MinGapMetadata<PyObject*>::ThisT*, const __MinGapMetadata<PyObject*>::ThisT*)’:
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:206: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:208: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_min_gap_metadata_base.hpp:210: warning: suggest explicit braces to avoid ambiguous ‘else’
In file included from banyan/_int_imp/_tree_imp_lt_base.hpp:11,
from banyan/_int_imp/_tree_imp.hpp:7,
from banyan/_int_imp/_set_tree_imp.hpp:7,
from banyan/_int_imp/_build_tree_imp.cpp:9:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In member function ‘_PyObjectIntervalMaxMetadata& _PyObjectIntervalMaxMetadata::operator=(const _PyObjectIntervalMaxMetadata&)’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:59: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In destructor ‘virtual _PyObjectIntervalMaxMetadata::~_PyObjectIntervalMaxMetadata()’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:73: warning: suggest explicit braces to avoid ambiguous ‘else’
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp: In member function ‘void _PyObjectIntervalMaxMetadata::update(PyObject*, const _PyObjectIntervalMaxMetadata*, const _PyObjectIntervalMaxMetadata*)’:
banyan/_int_imp/_tree_imp_interval_max_metadata_base.hpp:80: warning: suggest explicit braces to avoid ambiguous ‘else’
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-sclee1/banyan/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CZTp63-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-sclee1/banyan
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 271, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 1185, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 592, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/pip/util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-sclee1/banyan/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CZTp63-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-sclee1/banyan
Why don't you try installing an executable file from http://www.lfd.uci.edu/~gohlke/pythonlibs/. I always use when there is an issue with pip/easy_install
I tried to install scipy on my user account ~/local using both easy_install and the 'python setup.py install' method with source files. I get this error:
error: Setup script exited with error:
Command "gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE
-fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
-I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6
-c scipy/integrate/_quadpackmodule.c
-o build/temp.linux-x86_64-2.6/scipy/integrate/_quadpackmodule.o"
failed with exit status 1
I'm using 'gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)'. Could this issue be related to the compiler or python2.6 version? Otherwise what could I check?
Thanks!
F.
I'm running a virtualenv on osx 10.7.4, and I was trying to install MongoDB for python, which is version 2.7.3.
I just installed it from pip, and am trying to see what happens if I run mongod command, but it turns out I can't run the command.
Below is what happened in my terminal, could anyone give a hand here about what could be wrong?
(test1)Dus-MacBook-Air:~ mepine$ pip install pymongo
Downloading/unpacking pymongo
Downloading pymongo-2.2.1.tar.gz (230Kb): 230Kb downloaded
Running setup.py egg_info for package pymongo
Installing collected packages: pymongo
Running setup.py install for pymongo
building 'bson._cbson' extension
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/time64.c -o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/encoding_helpers.c -o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o -o build/lib.macosx-10.4-x86_64-2.7/bson/_cbson.so
building 'pymongo._cmessage' extension
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o
/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibson -I/usr/local/Cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o -o build/lib.macosx-10.4-x86_64-2.7/pymongo/_cmessage.so
Successfully installed pymongo
Cleaning up...
(test1)Dus-MacBook-Air:~ mepine$ mongod
-bash: mongod: command not found
Thanks guys!!
I think maybe you're confusing the python mongo driver with the mongo server itself.
Did you install mongodb (mongod, mongo, etc.), or just pymongo?
There's a homebrew package for mongodb, just in case you want an easy way to install it--or you can download it directly from http://www.mongodb.org/downloads.
So i've been pulling my hair out trying to install the mysqldb package.
When i run the build i get a long transcript of errors, heres just part of it, i would posit it all but its huge list of errors
[rv#med240-183 MySQL-python-1.2.3c1]$ sudo python setup.py build
[sudo] password for rv:
running build
running build_py
copying MySQLdb/release.py -> build/lib.linux-i686-2.6/MySQLdb
running build_ext
building '_mysql' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -Dversion_info=(1,2,3,'gamma',1) -D__version__=1.2.3c1 -I/usr/include/mysql -I/usr/include/python2.6 -c _mysql.c -o build/temp.linux-i686-2.6/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c:38:19: error: mysql.h: No such file or directory
Any ideas?
yum install mysql-devel