Hi Guys,
I'm really interested in this project but I can't seem to get the prereq's installed. I followed an issue created earlier on how install and manage to get numpy installed but when I run:
python -c 'import numpy; numpy.test()'
Running unit tests for numpy
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/dist-packages/numpy/testing/nosetester.py", line 240, in test
self._show_system_info()
File "/usr/lib/python2.6/dist-packages/numpy/testing/nosetester.py", line 151, in _show_system_info
nose = import_nose()
File "/usr/lib/python2.6/dist-packages/numpy/testing/nosetester.py", line 51, in import_nose
raise ImportError(msg)
ImportError: Need nose >= 0.10.0 for tests - see http://somethingaboutorange.com/mrl/projects/nose
When I ignore and try to install pycluster I just get a bunch of errors.
Any ideas?
Thanks for the work on this project, should be very interesting.
Comments
Comment #1
jarchowk commentedSorry I'm a python newbie, reading the error a little more closely it looks like I just don't have to testing module.
At any rate, the pycluster installation doesn't work:
/var/Pycluster-1.46$ sudo python setup.py install
running install
running build
running build_py
running build_ext
building 'Pycluster.cluster' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/python2.6 -c python/clustermodule.c -o build/temp.linux-i686-2.6/python/clustermodule.o
python/clustermodule.c:1:20: error: Python.h: No such file or directory
In file included from /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/arrayobject.h:14,
from python/clustermodule.c:2:
/usr/lib/python2.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:114:2: error: #error Must use Python with unicode enabled.
....
....
lots more errors after that.
Comment #2
jarchowk commentedOk answered things myself. For anyone new to python you have to install the python-dev package
sudo apt-get install python-dev
Comment #3
kyle_mathews commentedIt was fun watching your debugging fly by my email client this morning :) Glad you got it working.