victormocioiu / scipy-cluster

Automatically exported from code.google.com/p/scipy-cluster
Other
0 stars 0 forks source link

Segmentation fault python 2.6.5 #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.python -v
2.import hcluster

What do you see instead?
dlopen("/home/jgeiss/.local/lib/python2.6/site-packages/_hierarchy_wrap.so", 2);
Speicherzugriffsfehler (Segmentation fault)

What version of the product are you using? On what operating system?
hcluster0.2.0
python 2.6.5
Ubuntu 10.04.4 LTS
numpy 1.3.0
scipy 0.7.0
matplotlib 0.99.1.1

Please provide any additional information below.
it works with 
hcluster0.2.0,  
python 2.7.3 
ubuntu 12.04
numpy 1.6.1
scipy 0.9.0
matplotlib 1.1.1rc

DO I need to update any of the other packages?

Thanks,
Johanna

Original issue reported on code.google.com by johanna....@gmail.com on 13 Jan 2015 at 7:59

GoogleCodeExporter commented 8 years ago
Hi Johanna,

Thanks for your message and interest in hcluster.

Did you update your version of NumPy or Python? If so, you must recompile 
hcluster. Do you have a clean rebuild? Are you building hcluster from source 
from the tar ball or with PyPi.

Cheers,
Damian Eads

Original comment by dam...@wise.io on 13 Jan 2015 at 8:56

GoogleCodeExporter commented 8 years ago
Hi Damian,
thanks for your help.
No, I did not update NumPy or Python after installing hcluster, I tested it on 
two machines. I am building from source from the tar ball.

Oh wait, I just did a rebuild. This time I chose a different include directory 
containing numpy/arrayobject.h. Two valid directories were found. This time I 
chose "/usr/lib/python2.6/dist-packages" instead of  
"/usr/local/lib/python2.6/dist-packages".

It seems to work now!

Thanks,
Johanna

Original comment by johanna....@gmail.com on 13 Jan 2015 at 9:28

GoogleCodeExporter commented 8 years ago
Hi Johanna,

Glad to hear it is working now! :)

All the best,
Damian Eads

Original comment by dam...@wise.io on 13 Jan 2015 at 9:34