New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numpy dependency install fails if not already installed #508
Comments
I have the same problem, here is the error message:
However, unlike @jgosmann, installing |
Are you able to sudo apt-get install python-dev build-essential and try again. This will at least let you install it, but note that this Numpy install will be pretty slow. @hunse has instructions on a faster Numpy install using openblas somewhere... |
Sorry about that, I apparently borked my install by playing around with Anaconda while trying to get the offline install to work. Installing Is the fact that numpy is giving us such a hassle an indication that we should be using |
We can certainly write a |
Confirmed existence on Ubuntu 14.04 clean install in #528. |
Relevant, but unhelpful SO thread. |
Apparently, this is a known but unfixed issue. See numpy/numpy#2434. |
Some people say |
From that thread and previous experience, it seems as though Matplotlib and Pandas have solved this issue (confirmed by making a new virtualenv and pip installing each; worked with MPL and Pandas but not Nengo). We'll have to look into their One other question: if you |
|
I investigated Matplotlib, but they literally don't seem to be doing anything different since they end up with the same setup() file that we have for Numpy. Same thing with Pandas. I think may be over my head here.
|
I can confirm that |
Right, I was getting a little bit carried away with my previous comment, as I accidentally expanded the scope of the comment thread from "how do we install numpy" to "how do we package our application". Focusing back on installing numpy, I talked to Trevor and I'm going to figure out how to install numpy in |
Any progress on this? |
OK... I think I fixed it, but honestly it's a weird fix (short though). For some reason, NumPy installs fine if it's part of edit: PR made: #568. |
Works for me on Linux. |
Merged PR #568 |
tbekolay commented on 29 Nov 2014 Thank you! |
I tried to install Nengo in a virtualenv without installing NumPy beforehand. The Nengo seemed to try to install NumPy, but failed with some compile error. Installing NumPy with pip first and then Nengo worked.
I have to look further into what exactly the error was etc. but don't have time right now. So this ticket is for now just a reminder for me.
The text was updated successfully, but these errors were encountered: