Pip install numpy pandas fail?

Pandas is numpy dependent and there is an open build problem  for installing pandas dependencies. No matter what ideas about why pip quits on numpy in the example below? Also occurs when using the requirements file.

$virtualenv /tmp/pandatest
$source /tmp/pandatest/bin/activate
$pip install numpy pandas

Then, in the middle of numpy setup, panda setup starts.

  DeprecationWarning)
C compiler: /usr/bin/gcc-4.0 -DNDEBUG -g -O3 -m32

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -     Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c'
gcc-4.0: _configtest.c
/usr/bin/gcc-4.0 _configtest.o -o _configtest
_configtest
failure.
removing: _configtest.c _configtest.o _configtest
building data_files sources
build_src: building npy-pkg config files
Downloading/unpacking pandas
Running setup.py egg_info for package pandas
# numpy needed to finish setup.  run:

    $ pip install numpy  # or easy_install numpy

.... and when testing on numpy

(pandatest)$ python
Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named numpy
+3
source share
1 answer

possibly what happened:

he was unable to install "pandas", so numpy was not installed either.

pip works as follows:

, , , pandas , pandas.

pip, , , ...

:

.

  • numpy ( ).
  • pandas (it    , , ).
+1

All Articles