[SciPy-User] /usr/bin/ld: cannot find -lnpymath AND ImportError: cannot import name asstr and

Peter Tittmann ptittmann@gmail....
Tue Nov 23 19:13:51 CST 2010


			Hi All,it appears that optimize.curve_fit is not a part of the current Debian squeeze binary (0.7.2+dfsg1-1) so ive been attempting to build  from source with a lot of trouble. When building using the archive (scipy-0.8.0.tar.gz) i get the following error whihc clamis to have been addressed by this bug http://projects.scipy.org/numpy/ticket/1194 :/usr/bin/ld: cannot find -lnpymathcollect2: ld returned 1 exit status/usr/bin/ld: cannot find -lnpymathcollect2: ld returned 1 exit statuserror: Command "/usr/bin/gfortran -Wall -Wall -shared build/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o build/temp.linux-x86_64-2.6/scipy/special/amos_wrappers.o build/temp.linux-x86_64-2.6/scipy/special/specfun_wrappers.o build/temp.linux-x86_64-2.6/scipy/special/toms_wrappers.o build/temp.linux-x86_64-2.6/scipy/special/cdf_wrappers.o build/temp.linux-x86_64-2.6/scipy/special/ufunc_extras.o -L/usr/lib/pymodules/python2.6/numpy/core/lib -Lbuild/temp.linux-x86_64-2.6 -lsc_amos -lsc_toms -lsc_c
_misc -lsc_cephes -lsc_mach -lsc_cdf -lsc_specfun -lnpymath -lm -lgfortran -o build/lib.linux-x86_64-2.6/scipy/special/_cephes.so" failed with exit status 1then attempting to build from the svn repository the following error which i can't even find reference to in google:
			
		$:~/Downloads/scipy$ sudo python setup.py installTraceback (most recent call last):  File "setup.py", line 85, in <module>    FULLVERSION += svn_version()  File "setup.py", line 58, in svn_version    from numpy.compat import asstrImportError: cannot import name asstrMaybe i'm stuck in some sort of pervasive metaphysical dysfunction, or maybe its something simple and one of you clever folks can point me in the right direction. (i hope its the latter)system is Debian squeeze amd x64thanks,Peter
        -- Peter Tittmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101123/56639ea0/attachment.html 


More information about the SciPy-User mailing list