You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main issue is pypa/pip#25
but it is a fairly common issue.
In a new environment
pip install numpy pyastronomy
Collecting numpy
Downloading numpy-1.12.1-cp35-cp35m-manylinux1_x86_64.whl (16.8MB)
100% |████████████████████████████████| 16.8MB 1.8MB/s
Collecting pyastronomy
Downloading PyAstronomy-0.10.1.tar.gz (617kB)
100% |████████████████████████████████| 624kB 2.2MB/s
Complete output from command python setup.py egg_info:
Please install 'numpy' first.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/jneal/pip-build-r24zffou/pyastronomy/setup.py", line 153, in <module>
class WithExtCommand(Command):
NameError: name 'Command' is not defined
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/jneal/pip-build-r24zffou/pyastronomy/
Basically scipy/scipy#453 contains the PR of how they resolved this issue for scipy which I quote.
It was failing because of the pre installation request from pip to ./setup.py egg_info (which is perfectly valid request and shouldn't fail), before numpy actually was installed.
Fix is straightforward - not to use numpy for commands that are not connected with build and install.
The main reason this affects me is I want to include pyastronomy into a requirements.txt file along with numpy. pip downloads and setups all before starting to install.
The text was updated successfully, but these errors were encountered:
The main issue is
pypa/pip#25
but it is a fairly common issue.
In a new environment
Basically scipy/scipy#453 contains the PR of how they resolved this issue for scipy which I quote.
The main reason this affects me is I want to include pyastronomy into a requirements.txt file along with numpy.
pip
downloads and setups all before starting to install.The text was updated successfully, but these errors were encountered: