[SciPy-dev] building SciPy for CentOS 5
Mon Mar 10 18:07:14 CDT 2008
On Mon, Mar 10, 2008 at 4:40 PM, Joseph VanAndel <email@example.com> wrote:
> I'm trying to build SciPy for Python 2.5.1 on CentOS 5, and am having
> quite a few problems.
> First, I uninstalled any existing blas and lapack RPMs, since the
> existing RPMs are pretty old.
> I've built and installed refblas3, lapack3, and atlas, using the source
> RPMS from
> When I install the RPMS, I use the '--relocate' option to install the
> files in /usr/local, rather than /usr. (Our system admins prefer we not
> install 'unoffical' RPMS into /usr)
> I've installed numpy, using easy_install.
> I've edited site-packages/numpy/distutils/site.cfg to match where the
> blas and lapack libraries got installed.
> When I try to build scipy, it complains about various missing packages,
> but still builds, and installs files into <PYTHON>/site-packages.
> (I've attached the log file).
> However, scipy doesn't work:
> import scipy
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "scipy/__init__.py", line 54, in <module>
> from __config__ import show as show_config
> ImportError: No module named __config__
Change to another directory. Python looks in the current directory for
modules and packages before it looks in site-packages, so you are
seeing the incomplete source tree rather than the installed scipy.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Scipy-dev