boostorg / boostorg/python

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

Ouverte
#149 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
537
Forks
223
Merge moyen
11 h 22 min
PR mergées (30 j)
2

Description

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 #

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.