-
Notifications
You must be signed in to change notification settings - Fork 122
pip fails to install at same time of numpy #60
Comments
Thanks for reporting this @Marco-Santoni. From my quick read of pypa/pip#25 I think I understand the problem and how to fix it. I'll close this issue when fixed. |
Thanks, as I need to fix this asap, I've forked the repo and tried to fix the |
Well, I think the solution has to do with ilblackdragon's comment near the end of the pypa/pip#25.
The problem has to do with the fact that setup.py imports numpy in order to determine the build path. However, when just trying to get package dependency information on a system without numpy, this import causes an error. You would need to change setup.py so that it imports numpy only if it's actually going to do a build. At least that is my understanding. I wish I could help more. If you have trouble, post more questions. I just have some projects going on right now and don't really have time to set up a testing environment and experiment with this. I should be able to respond to questions, though. If I get time, I will try to fix this from my end, but I expect that won't happen until next week. |
If neither
numpy
norpyearth
are installed, and we install both of them by:where
requirements.txt
:Throws
ImportError: no module named numpy
when installingpyearth
. Refer to this issue and this issue to see how pip works in this case.The text was updated successfully, but these errors were encountered: