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

オープン
#149 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, linux, numpy, python
領域
build-system

調査の方向性

scons config エントリポイントから始め、/usr/local/python2.7/lib/python2.7/site-packages/numpy にあると報告された Python 2.7 のインストールを確認します。NumPy の import チェックを再現し、SCons が使用している Python 環境を特定します。設定が NumPy を正常に検出できるか、Issue に具体的な環境の不一致と必要な設定が記録されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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 #

主要言語
C++
スター
537
フォーク
223
平均マージ
11時間 22分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/python のほかの issue

boostorg/python の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。