Dear all,

Upon trying to install numpy using 'pip install numpy' in a virtualenv, I get the following error messages:

creating build/temp.linux-x86_64-2.7/numpy/random/mtrand

compile options: '-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 
-D_LARGEFILE64_SOURCE=1 -Inumpy/core/include 
-Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy -Inumpy/core/src/private 
-Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath 
-Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort 
-Inumpy/core/include -I/usr/include/python2.7 
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/private 
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/private 
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/private 
-Ibuild/src.linux-x86_64-2.7/numpy/core/src/private -c'

gcc: numpy/random/mtrand/distributions.c

numpy/random/mtrand/distributions.c: In function ‘loggam’:

numpy/random/mtrand/distributions.c:892:1: internal compiler error: Illegal 
instruction

 }


 ^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://bugzilla.redhat.com/bugzilla> for instructions.

Preprocessed source stored into /tmp/ccjkBSd2.out file, please attach this to 
your bugreport.

This leads to the compilation process failing with this error:


Cleaning up...

Command /home/mescalin/pkerp/.virtualenvs/notebooks/bin/python -c "import 
setuptools;__file__='/home/mescalin/pkerp/.virtualenvs/notebooks/build/numpy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file

__, 'exec'))" install --record /tmp/pip-c_Cd7B-record/install-record.txt 
--single-version-externally-managed --install-headers 
/home/mescalin/pkerp/.virtualenvs/notebooks/include/site/python2.7 failed with error 
code 1 in /ho

me/mescalin/pkerp/.virtualenvs/notebooks/build/numpy

Traceback (most recent call last):

  File "/home/mescalin/pkerp/.virtualenvs/notebooks/bin/pip", line 9, in 
<module>

    load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()

  File 
"/home/mescalin/pkerp/.virtualenvs/notebooks/lib/python2.7/site-packages/pip/__init__.py",
 line 148, in main

    return command.main(args[1:], options)

  File 
"/home/mescalin/pkerp/.virtualenvs/notebooks/lib/python2.7/site-packages/pip/basecommand.py",
 line 169, in main

    text = '\n'.join(complete_log)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: 
ordinal not in range(128)


Have any of you encountered a similar problem before?

Thanks in advance,

-Peter

================================================

The gcc version is:

[pkerp@fluidspace ~]$ gcc --version

gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)

Copyright (C) 2013 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.


PS:


Attachment: ccjkBSd2.out
Description: chemical/gulp

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to