, or importing rightlib pcre is installed i dont know how to check if it is right or corrupt, pardon my non-Pythonability. Numpy 1.7 was downloaded and installed via the commands: python setup.py build; python setup.py install --prefix=$HOME

Yaroslav Halchenko wrote:
Hi Rico,

I have not experienced the wonders of the rebuilt RHEL yet before so
can't give a comprehensive answer (installing centos 6.3 in virtualbox
atm).  But could you check if you have libpcre  installed?  strange
thing is that swig (AFAIK from debian package dependencees) depends on
libcpre so on a reasonable system it should get installed automagically
when installing wing.

to help me out trying to replicate your case -- what was exactly the way
you installed numpy and what version?

On Wed, 21 Nov 2012, Rico V wrote:

i am trying to build and install PyMVPA locally ON CEnOS.  I
installed the dependent pythong components (numpy, scipy, etc.). I
get the following errors:

make build
/bin/sh: git: command not found
python setup.py config --noisy
Traceback (most recent call last):
   File "setup.py", line 12, in ?
     from numpy.distutils.core import setup, Extension
ImportError: No module named numpy.distutils.core
make: *** [build-stamp] Error 1

python setup.py build_ext
running build_ext
running build_src
build_src
building extension "mvpa2.clfs.libsmlrc.smlrc" sources
building extension "mvpa2.clfs.libsvmc._svmc" sources
swig++: mvpa2/clfs/libsvmc/svmc.i
swig -python -I/$HOMElib/python2.7/site-packages/numpy/core/include
-I3rd/libsvm -c++
-I/$HOME/lib/python2.7/site-packages/numpy/core/include -I3rd/libsvm
-o build/src.linux-x86_64-2.7/mvpa2/clfs/libsvmc/svmc_wrap.cpp
-outdir build/src.linux-x86_64-2.7/mvpa2/clfs/libsvmc
mvpa2/clfs/libsvmc/svmc.i
swig: error while loading shared libraries: libpcre.so.1: cannot
open shared object file: No such file or directory
error: command 'swig' failed with exit status 127

I'm at a loss on how to fix it.  If I start up Python2.7 i can
import numpy.disutils.core

any help?
Thank you for your time

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa


_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to