[SciPy-user] NameError on scipy import

Stephen Uhlhorn suhlhorn at gmail.com
Thu Feb 1 18:11:49 EST 2007


Strange... I cleaned out my build directory and the scipy site-package
dir to make sure the files matched up... now it won't compile:

/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77 -g -Wall -undefined dynamic_lookup
-bundle build/temp.darwin-8.8.
0-Power_Macintosh-2.4/build/src.darwin-8.8.0-Power_Macintosh-2.4/Lib/fftpack/_fftpackmodule.o
build/
temp.darwin-8.8.0-Power_Macintosh-2.4/Lib/fftpack/src/zfft.o
build/temp.darwin-8.8.0-Power_Macintosh
-2.4/Lib/fftpack/src/drfft.o
build/temp.darwin-8.8.0-Power_Macintosh-2.4/Lib/fftpack/src/zrfft.o
bui
ld/temp.darwin-8.8.0-Power_Macintosh-2.4/Lib/fftpack/src/zfftnd.o
build/temp.darwin-8.8.0-Power_Maci
ntosh-2.4/build/src.darwin-8.8.0-Power_Macintosh-2.4/fortranobject.o
-L/usr/local/lib -L/usr/local/l
ib/gcc/powerpc-apple-darwin7.9.0/3.4.4
-Lbuild/temp.darwin-8.8.0-Power_Macintosh-2.4 -ldfftpack -lff
tw3 -lg2c -lcc_dynamic -o
build/lib.darwin-8.8.0-Power_Macintosh-2.4/scipy/fftpack/_fftpack.so
-lSys
temStubs" failed with exit status 1

I tried making the changes to Lib/fftpack.setup.py according to the
instructions, but no go... any ideas?

-stephen

On 2/1/07, Robert Kern <robert.kern at gmail.com> wrote:
> Stephen Uhlhorn wrote:
> > I just checked the file and 'del lib' is in  __init__.py  My scipy is
> > from the 0.5.2 tarball.
>
> But is that line in the __init__.py that resides in the tarball that you have
> rather than the one that is installed? It does not exist in the tarball that I
> just downloaded.
>
> --
> Robert Kern



More information about the SciPy-User mailing list