-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
make pycaffe gives following error at Ubuntu 14.04 even I installed numpy #1284
Comments
could you run ls /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ this is where the arrayobject.h file should be |
could you reinstall numpy?I think that may work. |
You may need to first relocate the file numpy/arrayobject.h on your computer using "find / -name numpy/arrayobject.h", and then modify the PYTHON_INCLUDE in the Makefile.configure. Perhaps it's in /usr/local/lib/python2.7 instead of /usr/lib/python2.7 |
after re-install it is resolved . Thanks |
Replicated for Fedora 20. Had the same problem, it appears to be that numpy was in the path /usr/lib64/python2.7/site-packages/numpy so you should change your Makefile.config's Python include path to this. It happens when you install numpy through pip on a x64_86 computer. At least that's the deal for Fedora. |
Had the same issue (xubuntu 14.04). I noticed that I had installed numpy with pip install --user and it was in $HOME/.local |
I had the same problem on Kubuntu 14.10 Plasma 4. It was also an issue around I did (I used |
In OpenSUSE 13.2, this did the trick: sudo pip uninstall statsmodels |
Same on ubuntu 14.04.
not helped. I have done as Franck-Dernoncourt suggested
and it solved problem.. |
I was facing the same problem on OS X El Capitan. Maybe this is too dumb, but here is what was preventing pycaffe installation from going through: Although the arrayobject.h file is located in, In Makefile, you need to change part of PYTHON_INCLUDE to WITHOUT the |
@AshishBora's solution solved the problem for me on Ubuntu 14.04 |
I was still having this issue and the fix is simply in the formatting of the
Really odd. |
@AshishBora's solution solved the problem for me on macOS Sierra 10.12.2 |
|
@mrgloom Thanks ^_^ it worked for me too. I'm with Anaconda3 on Linux Mint. |
in Ubuntu 16.04, using |
this is the error raised as I type make pycaffe. I installed numpy by setup.py.
The text was updated successfully, but these errors were encountered: