[IPython-User] User Installation of IPython Parallel Capabilities
Erik Petigura
eptune@gmail....
Sat Jan 21 15:38:09 CST 2012
Dear IPython,
I need to install IPython on a cluster where I don't have root access. There is mac ports python2.7 installed. I edited the ~/.pydistutils.cfg file to do user installations.
[597][petigura]$ cat ~/.pydistutils.cfg
[install]
install_lib = ~/Library/Python/$py_version_short/site-packages
install_scripts = ~/bin
And I was able to install IPython with easy_install.
[601][petigura]$ easy_install-2.7 --upgrade ipython
However, when I tried installing pyzmq for parallel capabilities, easy_install failed. I think it's having a hard time building zmq. Here's the error message:
[602][petigura]$ easy_install-2.7 --upgrade pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Processing pyzmq-2.1.11.zip
Running pyzmq-2.1.11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5iPT9m/pyzmq-2.1.11/egg-dist-tmp-UIkyY7
******************************************
Configure: Autodetecting ZMQ settings...
Custom ZMQ dir: None
detect/vers.c:3:17: error: zmq.h: No such file or directory
detect/vers.c: In function 'main':
detect/vers.c:7: warning: implicit declaration of function 'zmq_version'
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Fatal:
Failed to compile ZMQ test program. Please check to make sure:
* You have a C compiler installed
* A development version of Python is installed (including header files)
* A development version of ZMQ >= 2.1.4 is installed (including header files)
* If ZMQ is not in a default location, supply the argument --zmq=<path>
* If you did recently install ZMQ to a default location,
try rebuilding the ld cache with `sudo ldconfig`
or specify zmq's location with `--zmq=/usr/local`
******************************************
error: Setup script exited with 1
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Cheers,
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120121/5b1f0100/attachment.html
More information about the IPython-User
mailing list