Caffe: about cmake question

Created on 24 May 2016  路  2Comments  路  Source: BVLC/caffe

hello all ,my quetion is here:
-- Found Atlas (include: /usr/include, library: /usr/lib/libatlas.so)
Traceback (most recent call last):
File "", line 1, in
File "/home/wei/.local/lib/python2.7/site-packages/numpy/init.py", line 137, in
import add_newdocs
File "/home/wei/.local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in
from numpy.lib import add_newdoc
File "/home/wei/.local/lib/python2.7/site-packages/numpy/lib/init.py", line 4, in
from type_check import *
File "/home/wei/.local/lib/python2.7/site-packages/numpy/lib/type_check.py", line 8, in
import numpy.core.numeric as _nx
File "/home/wei/.local/lib/python2.7/site-packages/numpy/core/__init__.py", line 5, in
import multiarray
ImportError: /home/wei/.local/lib/python2.7/site-packages/numpy/core/multiarray.so: undefined symbol: PyUnicodeUCS4_AsUnicodeEscapeString
-- Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION) (Required is at least version "1.7.1")

take place the errors,but l already installed the NumPy,the question have been existed.would you help me?

Most helpful comment

the question already was solved now.in detail below!!
I downloaded the .tar.gz package for the version 1.8.0 from here-->(https://sourceforge.net/projects/numpy/files/NumPy/), unpacked it, moved inside the folder and run the commands:

python setup.py build --fcompiler=gnu95
python setup.py install --user

the method helps me my top question,so ,l hope it can help you!@ebadawy

All 2 comments

the question already was solved now.in detail below!!
I downloaded the .tar.gz package for the version 1.8.0 from here-->(https://sourceforge.net/projects/numpy/files/NumPy/), unpacked it, moved inside the folder and run the commands:

python setup.py build --fcompiler=gnu95
python setup.py install --user

the method helps me my top question,so ,l hope it can help you!@ebadawy

@wqlw I has the same issue, and it worked.

BTW
I can't download numpy from https://sourceforge.net/projects/numpy/files/NumPy/, and I download from here:
https://pypi.python.org/pypi/numpy/1.8.0#downloads

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LarsHH picture LarsHH  路  3Comments

Ruhjkg picture Ruhjkg  路  3Comments

serimp picture serimp  路  3Comments

shiorioxy picture shiorioxy  路  3Comments

prathmeshrmadhu picture prathmeshrmadhu  路  3Comments