Closed GoogleCodeExporter closed 8 years ago
Cannot reproduce as reported. Following the original poster's instructions,
this build fails to find a numpy submodule required by scipy. Attempted on OSX
Lion as well as Ubuntu 12.04, with the same results.
==================================================
(piptest)➜ ~VIRTUAL_ENV python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pysal
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named scipy
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
>>> ^D
(piptest)➜ ~VIRTUAL_ENV touch requirements.txt
(piptest)➜ ~VIRTUAL_ENV ls
bin include lib requirements.txt
(piptest)➜ ~VIRTUAL_ENV vim requirements.txt
(piptest)➜ ~VIRTUAL_ENV cat requirements.txt
numpy==1.6.1
scipy==0.10.1
pysal==1.3.0
(piptest)➜ ~VIRTUAL_ENV pip install -r requirements.txt
Downloading/unpacking numpy==1.6.1 (from -r requirements.txt (line 1))
Downloading numpy-1.6.1.zip (3.4Mb): 3.4Mb downloaded
Running setup.py egg_info for package numpy
Running from numpy source directory.non-existing path in 'numpy/distutils': 'site.cfg'
[snip numpy build statements ]
Downloading/unpacking scipy==0.10.1 (from -r requirements.txt (line 2))
Downloading scipy-0.10.1.zip (7.8Mb): 7.8Mb downloaded
Running setup.py egg_info for package scipy
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/stephens/tmp/python-virtual-environments/piptest/build/scipy/setup.py", line 196, in <module>
setup_package()
File "/Users/stephens/tmp/python-virtual-environments/piptest/build/scipy/setup.py", line 147, in setup_package
from numpy.distutils.core import setup
ImportError: No module named numpy.distutils.core
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/stephens/tmp/python-virtual-environments/piptest/build/scipy/setup.py", line 196, in <module>
setup_package()
File "/Users/stephens/tmp/python-virtual-environments/piptest/build/scipy/setup.py", line 147, in setup_package
from numpy.distutils.core import setup
ImportError: No module named numpy.distutils.core
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/stephens/.pip/pip.log
(piptest)➜ ~VIRTUAL_ENV
Original comment by phil.stp...@gmail.com
on 1 May 2012 at 9:24
I'm from the pip project and this is an issue
https://github.com/pypa/pip/issues/25
Original comment by pnas...@gmail.com
on 13 Jun 2012 at 3:11
add to faq as a known issue (beyond our control), then close ticket here with a
link in the faq back to this ticket
Original comment by sjsrey
on 13 Jul 2012 at 6:24
Original comment by sjsrey
on 31 Jul 2012 at 4:20
Original issue reported on code.google.com by
adam.h...@gmail.com
on 18 Apr 2012 at 1:45