boostorg / boostorg/python

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

Aperta
#149 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
537
Fork
223
Merge medio
11h 22m
PR unite (30g)
2

Descrizione

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 #

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.