[Numpy-discussion] numpy build error on Solaris, No module named _md5

Matthieu Brucher matthieu.brucher@gmail....
Tue Dec 9 10:44:53 CST 2008


Hi,

Does:

>>> import md5

work? If it doesn't, it's a packaging problem. md5 must be available.

Matthieu

2008/12/9 Gong, Shawn (Contractor) <Shawn.Gong@drdc-rddc.gc.ca>:
> hi list,
>
> I tried to build numpy 1.2.1 on Solaris 9 with gcc 3.4.6
>
> when I typed "python setup.py build", I got error from hashlib.py
>
>   File "/home/sgong/dev181/dist/lib/python2.5/hashlib.py", line 133, in
> <module>
>
>     md5 = __get_builtin_constructor('md5')
>
>   File "/home/sgong/dev181/dist/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
>
>     import _md5
>
> ImportError: No module named _md5
>
> I then tried python 2.6.1 instead of 2.5.2, but got the same error.
>
> I did not get the error while building on Linux. But I performed steps on
> Linux:
>
> 1) copy *.a Atlas libraries to my local_install/atlas/
>
> 2) ranlib *.a
>
> 3) created a site.cfg
>
> Do I need to do the same on Solaris?
>
> Any help is appreciated.
>
> thanks,
>
> Shawn
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>



-- 
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher


More information about the Numpy-discussion mailing list