[SciPy-user] Help with installing scypy
Sat May 24 21:32:32 CDT 2008
On Sat, May 24, 2008 at 9:19 PM, Mihail Sichitiu <email@example.com> wrote:
> I tried to follow the instructions here:
> for installing numpy and scipy on a Mac OS X (10.4.11), but no luck.
> According to the advice there here are my software versions:
> Legolas:~/temp/scipy root# gcc --version
> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1819)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Legolas:~/temp/scipy root# gfortran --version
> GNU Fortran (GCC) 4.2.1
> Legolas:~/temp/scipy root# g77 --version
> GNU Fortran (GCC) 3.4.6
> Legolas:~/temp/scipy root#
> Also, the message error when trying to make scipy (after building and
> installing numpy):
> Legolas:~/temp/scipy root# python setup.py build_src build_clib
> --fcompiler=gnu build_ext --fcompiler=gnu build
> Traceback (most recent call last):
> File "setup.py", line 92, in ?
> File "setup.py", line 63, in setup_package
> from numpy.distutils.core import setup
> line 93, in ?
> import add_newdocs
> line 9, in ?
> from lib import add_newdoc
> line 18, in ?
> from io import *
> line 16, in ?
> from _compiled_base import packbits, unpackbits
> ImportError: cannot import name packbits
> Any ideas what's going wrong?
Your numpy install is busted somehow. What version of numpy did you
try to install? Did you have a previous version sitting there?
Also, the instructions recommend (and I strongly concur) that you
install the official binaries from python.org instead of using the
system-installed Python. That's probably not your problem, but it's
"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-user