[eispice] Re: error invalid python installation

  • From: Howard Hansen <hrhan@xxxxxxx>
  • To: eispice@xxxxxxxxxxxxx
  • Date: Sat, 04 Apr 2009 20:38:17 -0600

Hi Charles

I followed your recommendation and now the "make" command appears to run 
to completion without an error.  However, when I run Python and then 
"import eispice:  I get the error "No module named eispice".  What 
advice do you have to fix this new problem.

In case it might be some help here is the output of the "make" command.

Building Module
make[1]: Entering directory `/root/Download/eispice-0.11.6'
Building Libraries...
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/log'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/log'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/data'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/data'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/netlib/blas'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/netlib/blas'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/netlib/toms'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/netlib/toms'
make[2]: Entering directory 
`/root/Download/eispice-0.11.6/libs/netlib/cephes'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory 
`/root/Download/eispice-0.11.6/libs/netlib/cephes'
make[2]: Entering directory 
`/root/Download/eispice-0.11.6/libs/netlib/lapack'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory 
`/root/Download/eispice-0.11.6/libs/netlib/lapack'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/superlu'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/superlu'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/calculon'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/calculon'
make[2]: Entering directory `/root/Download/eispice-0.11.6/libs/simulator'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/Download/eispice-0.11.6/libs/simulator'
make[1]: Leaving directory `/root/Download/eispice-0.11.6'
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
copying module/ibis_driver.py -> build/lib.linux-i686-2.5
copying module/calc.py -> build/lib.linux-i686-2.5
copying module/test.py -> build/lib.linux-i686-2.5
copying module/eispice.py -> build/lib.linux-i686-2.5
copying module/device.py -> build/lib.linux-i686-2.5
copying module/subckt.py -> build/lib.linux-i686-2.5
copying module/circuit.py -> build/lib.linux-i686-2.5
copying module/waveform.py -> build/lib.linux-i686-2.5
copying module/units.py -> build/lib.linux-i686-2.5
copying module/plot.py -> build/lib.linux-i686-2.5
copying module/ibis_parser.py -> build/lib.linux-i686-2.5
copying module/__init__.py -> build/lib.linux-i686-2.5
copying module/ibis_const.py -> build/lib.linux-i686-2.5
copying module/ibis_test.py -> build/lib.linux-i686-2.5
copying module/ibis_device.py -> build/lib.linux-i686-2.5
copying module/ibis.py -> build/lib.linux-i686-2.5
running build_ext
building 'simulator_' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/module
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC 
-DLIBNAME=simulator -I./include 
-I/usr/lib/python2.5/site-packages/numpy/core/include 
-I/usr/include/python2.5 -c ./module/simulatormodule.c -o 
build/temp.linux-i686-2.5/./module/simulatormodule.o
gcc -pthread -shared 
build/temp.linux-i686-2.5/./module/simulatormodule.o -L./libs -L/usr/lib 
-lsimulator -lsuperlu -llapack -lblas -ltoms -lcephes -lcalc -ldata 
-lgfortran -lpython2.5 -o build/lib.linux-i686-2.5/simulator_.so

Thanking you for your help, Howard


Charles Eidsness wrote:
> Hi Howard,
>
> Try installing the Python Development Package with a:
> yum -y install python-devel
>
> Let me know how it goes,
> Cheers,
> Charles
>
>
> Howard Hansen wrote:
>   
>> When trying to install eispice-0.11.6 on Fedora 10 I get the following 
>> error message.
>> "error: invalid python installation:: unable to open 
>> /usr/lib/python2.5/config/Makefile no such file or directory.
>> no such file or directory"
>>
>> Yes, I do have Python2.5 installed on my computer.  When I checked the 
>> path I could not find a config subdirectory at the end of the 
>> /usr/lib/python2.5/ path.
>>
>> What should I do to fix this problem?
>>
>> Howard
>> ------------------------------------------------------------------
>> To unsubscribe from the eispice list send an email to:
>> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>
>>     
> ------------------------------------------------------------------
> To unsubscribe from the eispice list send an email to:
> eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>
>   

------------------------------------------------------------------
To unsubscribe from the eispice list send an email to:
eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

Other related posts: