boostorg / boostorg/python

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

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
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 #

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.