boostorg / boostorg/python

failed to install boost.python, ImportError: numpy.core.multiarray failed to import

Offen
#149 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
537
Forks
223
Ø Merge
11 Std. 22 Min.
Gemergte PRs (30 T.)
2

Beschreibung

I tried to install the boost.python on centos6 system. the naive python is 2.6.6 while
I installed one python2.7.5 version on this system as well as other dependencies.

however, when installing boost.python, executing "scons config"
it reported my numpy is missing while I installed the numpy in location
/usr/local/python2.7/lib/python2.7/site-packages/numpy

**Checking for C++11 support...no
Checking for Python...yes
ImportError: numpy.core.multiarray failed to import
Checking for NumPy...no**

please give some suggestions how to fix this, I tried to link the numpy.py in config,
`numpy_source_file = r"""`
while it seems didn't work or perhaps I set a wrong value to this link #

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.