installation problem

Asked by Alvin on 2011-08-01

Hi, all.
 when installed yade-0.60.2, I failed with errors list as follow:

some maybe important words;
"Checking for C++ header file Eigen/Core... no "
"One of the essential libraries above was not found, unable to continue.

Check `/home/geogroup/Downloads/build-0.60-0/dbg/config.log' for possible causes, note that there are options that you may need to customize: "

the following words were found in the log file in the dbg folder:

"distcc[2924] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[2924] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[2924] (dcc_build_somewhere) Warning: failed to distribute, running locally instead"

the content of config.log as follow:

############################
file /home/geogroup/Downloads/yade-0.60.2/SConstruct,line 336:
    Configure(confdir = /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp)
scons: Configure: Checking whether c++ compiler "distcc g++" works...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_0.cpp <-
  |#include<iostream>
  |int main(int argc, char**argv){std::cerr<<std::endl;return 0;}
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_0.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_0.cpp
distcc[4869] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4869] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4869] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_0 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_0.o
scons: Configure: yes

scons: Configure: Finding libstdc++ library...
scons: Configure: (cached) /usr/lib/libstdc++.so.6

scons: Configure: Checking for pthread_exit(NULL) in C library pthread...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_1.c <-
  |
  |
  |#include "pthread.h"
  |
  |int
  |main() {
  | pthread_exit(NULL);
  |return 0;
  |}
  |
gcc -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_1.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_1.c
gcc -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_1 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_1.o -lpthread
scons: Configure: yes

scons: Configure: Checking for Python development files...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_2.cpp <-
  |#include<Python.h>
  |int main(int argc, char **argv){Py_Initialize(); Py_Finalize();}
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_2.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_2.cpp
distcc[4900] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4900] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4900] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_2 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_2.o -lpthread -lpthread -ldl -lutil
scons: Configure: ok

scons: Configure: Checking for C++ header file numpy/ndarrayobject.h...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_3.cpp <-
  |#include <Python.h>
  |
  |#include <numpy/ndarrayobject.h>
  |
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_3.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_3.cpp
distcc[4912] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4912] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4912] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
scons: Configure: yes

scons: Configure: Checking for required python modules...
scons: Configure: (cached) Failures: numpy (package python-numpy), matplotlib (package python-matplotlib)

scons: Configure: Checking boost libraries...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_4.cpp <-
  |#include<boost/system/error_code.hpp>
  |int main(void){boost::system::error_code();;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_4.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_4.cpp
distcc[4918] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4918] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4918] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_4 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_4.o -lpthread -lpthread -ldl -lutil -lboost_system
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_5.cpp <-
  |#include<boost/thread/thread.hpp>
  |int main(void){boost::thread();;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_5.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_5.cpp
distcc[4930] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4930] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4930] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_5 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_5.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_6.cpp <-
  |#include<boost/date_time/posix_time/posix_time.hpp>
  |int main(void){boost::posix_time::time_duration();;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_6.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_6.cpp
distcc[4942] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4942] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4942] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_6 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_6.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_7.cpp <-
  |#include<boost/filesystem/path.hpp>
  |int main(void){boost::filesystem::path();;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_7.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_7.cpp
distcc[4954] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4954] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4954] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_7.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_8.cpp <-
  |#include<boost/iostreams/device/file.hpp>
  |int main(void){boost::iostreams::file_sink("");;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_8.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_8.cpp
distcc[4966] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4966] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4966] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_8 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_8.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_9.cpp <-
  |#include<boost/regex.hpp>
  |int main(void){boost::regex("");;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_9.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_9.cpp
distcc[4978] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4978] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4978] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_9 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_9.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_10.cpp <-
  |#include<boost/archive/archive_exception.hpp>
  |int main(void){try{} catch (const boost::archive::archive_exception& e) {};;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_10.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_10.cpp
distcc[4990] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[4990] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[4990] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_10 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_10.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_11.cpp <-
  |#include<boost/program_options.hpp>
  |int main(void){boost::program_options::options_description o;;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_11.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_11.cpp
distcc[5002] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[5002] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[5002] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_11.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_program_options
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_12.cpp <-
  |#include<boost/python.hpp>
  |int main(void){boost::python::scope();;}
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_12.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_12.cpp
distcc[5014] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[5014] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[5014] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_12 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_12.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_program_options -lboost_python
scons: Configure: all ok

scons: Configure: Checking for C++ header file boost/foreach.hpp...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_13.cpp <-
  |
  |#include <boost/foreach.hpp>
  |
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_13.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_13.cpp
distcc[5026] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[5026] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[5026] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
scons: Configure: yes

scons: Configure: Checking for C++ header file Eigen/Core...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_14.cpp <-
  |
  |#include "Eigen/Core"
  |
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_14.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_14.cpp
distcc[5032] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[5032] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[5032] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_14.cpp:2:22: error: Eigen/Core: No such file or directory
distcc[5032] ERROR: compile /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_14.cpp on localhost failed
scons: Configure: no

scons: Configure: Checking for C++ header file loki/NullType.h...
/home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_15.cpp <-
  |
  |#include "loki/NullType.h"
  |
  |
distcc g++ -o /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_15.o -c -I/usr/include/wm3 -I/home/geogroup/Downloads/build-0.60-0/dbg/include -I/usr/include/python2.6 /home/geogroup/Downloads/build-0.60-0/dbg/.sconf_temp/conftest_15.cpp
distcc[5037] (dcc_parse_hosts) Warning: /home/geogroup/.distcc/zeroconf/hosts contained no hosts; can't distribute work
distcc[5037] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[5037] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
scons: Configure: yes

############################

How can I fix the problem?
Best regards!
Alvin

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2011-08-05
Last reply:
2011-08-14
Anton Gladky (gladky-anton) said : #1

Hi,

do you have libeigen2-dev or libeigen3-dev installed?

Anton

Alvin (lyj5300625) said : #2

Hi, Anton

I have performed the following command:
"sudo apt-get install scons libqt3-mt-dev qt3-dev-tools freeglut3-dev \
libboost-date-time-dev libboost-filesystem-dev libboost-thread-dev \
libboost-regex-dev fakeroot dpkg-dev build-essential g++ \
libboost-iostreams-dev liblog4cxx10-dev python-dev libboost-python-dev ipython \
python-matplotlib libsqlite3-dev python-numeric python-tk gnuplot doxygen \
libgts-dev python-pygraphviz libvtk5-dev python-scientific bzr libeigen2-dev libeigen3-dev \
libqglviewer-qt3-dev libloki-dev python-xlib python-qt4 libqglviewer-qt4-dev \
pyqt4-dev-tools"

and get the error :

"0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up yade-0.60 (0.60.3-1~lucid) ...
update-alternatives: error: alternative path /usr/bin/yade-0.60 doesn't exist.
dpkg: error processing yade-0.60 (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of yade:
 yade depends on yade-0.60; however:
  Package yade-0.60 is not configured yet.
dpkg: error processing yade (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 yade-0.60
 yade
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Anton Gladky (gladky-anton) said : #3

Hi Alvin,

there are, probably, some problems with packages of 0.60-version.
Please, use daily-builds [1], it is newer and works.

I will have a look at 0.60-packages.

[1] https://answers.launchpad.net/yade/+faq/1727

Anton

Alvin (lyj5300625) said : #4

Hi, Anton,
   thanks for your help.
 I try the daily-build, but same error occurs again when I type "sudo apt-get install yade-daily"
"yade-daily is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up yade-0.60 (0.60.3-1~lucid) ...
update-alternatives: error: alternative path /usr/bin/yade-0.60 doesn't exist.
dpkg: error processing yade-0.60 (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of yade:
 yade depends on yade-0.60; however:
  Package yade-0.60 is not configured yet.
dpkg: error processing yade (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 yade-0.60
 yade
E: Sub-process /usr/bin/dpkg returned an error code (1)
geogroup@geogroup:~$ yade-daily
Welcome to Yade 1+2902+27~lucid1, from 2011-07-29
Traceback (most recent call last):
  File "/usr/bin/yade-daily", line 118, in <module>
    import yade
  File "/usr/lib/yade-daily/py/yade/__init__.py", line 77, in <module>
    import utils # some others?
  File "/usr/lib/yade-daily/py/yade/utils.py", line 12, in <module>
    import math,random,doctest,geom,numpy
  File "/usr/lib/yade-daily/py/yade/geom.py", line 9, in <module>
    import utils,math,numpy
ImportError: No module named numpy "

is there some wrong with my system? lack of the module of numpy? I got numpy installed.

Christian Jakob (jakob-ifgt) said : #5

Maybe you forgot to install python-numpy?

what gives "aptitude search python | grep numpy" ?

... should give:

i python-numpy - Numerical Python fügt der Sprache Python e
p python-numpy-dbg - Fast array facility to the Python language
v python-numpy-dev -
p python-numpy-doc - Dokumentation für NumPy
v python2.5-numpy -
v python2.6-numpy -

Regards,

Christian

Alvin (lyj5300625) said : #6

Thanks Jakob

I have installed python-numpy already. but still error.

and I have got what you list.

i python-numpy - Numerical Python adds a fast array facilit
i python-numpy-dbg - Fast array facility to the Python language
v python-numpy-dev -
i python-numpy-doc - NumPy documentation
i python-numpy-ext - NumPy adds a fast array facility to the Py
v python2.6-numpy -

except " python2.5-numpy"

Alvin (lyj5300625) said : #7

And I still got the error messages:

Checking for Python development files... error
Checking for required python modules... (cached) Failures: IPython (package ipython), matplotlib (package python-matplotlib), Xlib (package python-xlib), PyQt4.QtGui (package python-qt4)
Checking boost libraries... Failures: boost_python

Alvin (lyj5300625) said : #8

when i try update ,error followed as:

Processing triggers for python-central ...
Errors were encountered while processing:
 samba-common
 samba-common-bin
 smbclient
 yade-0.60
E: Sub-process /usr/bin/dpkg returned an error code (1)

Anton Gladky (gladky-anton) said : #9

Seems, like you have problems in your package manager.
 samba-common
 samba-common-bin
 smbclient
 yade-0.60

Try to deinstall those files and install again.

Can you help with this problem?

Provide an answer of your own, or ask Alvin for more information if necessary.

To post a message you must log in.