How to installing NumPy?

Nuzhet Dalfes dalfes at itu.edu.tr
Wed Mar 7 08:07:54 EST 2001


Thanks for suggestions from Warren and Christopher, but I get some sort
of error related to some LONG_BIT issue. 

The output of my second trial of 'python setup.py install' is attached.

I'll appreciate some more help; is this a known problem?

Nuzhet


Warren Focke wrote:
> 
> In article <3AA57C0D.BBC5E956 at itu.edu.tr>,
> Nuzhet Dalfes wrote:
> >I am trying to install NumPy on a RedHat 7.0 running python2.0.
> >Everything is in the standard places (I think!) and I picked up and
> >unzipped http://download.sourceforge.net/numpy/NumPy1711_20.zip into
> 
> That's for windos.  You want to get Numeric-17.3.0.tar.gz, unpack it
> (not in site-packages, maybe in /usr/local/src or ~/src), cd to the
> directory it made, and follow the instructions there.  Probably
> something like:
> 
> /usr/local/bin/python2.0 setup.py install
> /usr/local/bin/python2.0 setup_all.py install
> 
> Warren Focke
> --
> Wrapping up her appearance with rubber, you can feel more comfortable.
>  -- directions for a set of Chinese binoculars
-------------- next part --------------
In file included from /usr/local/include/python2.0/Python.h:54,
                 from Src/_numpymodule.c:1:
/usr/local/include/python2.0/pyport.h:390:2: #error "LONG_BIT definition appears wrong for platform (bad gcc config?)."
running install
running build
running build_py
not copying Lib/ArrayPrinter.py (output up-to-date)
not copying Lib/Numeric.py (output up-to-date)
not copying Lib/Precision.py (output up-to-date)
not copying Lib/UserArray.py (output up-to-date)
not copying Lib/numeric_version.py (output up-to-date)
running build_ext
building '_numpy' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fpic -IInclude -I/usr/local/include/python2.0 -c Src/_numpymodule.c -o build/temp.linux-i686-2.0/Src/_numpymodule.o
error: command 'gcc' failed with exit status 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dalfes.vcf
Type: text/x-vcard
Size: 389 bytes
Desc: Card for Nuzhet Dalfes
URL: <http://mail.python.org/pipermail/python-list/attachments/20010307/7290c4dc/attachment.vcf>


More information about the Python-list mailing list