Python 用の keplerian ツールボックスのインストールに関する指示に従いましたが、すべてうまくいきましたが、モジュールをインポートしようとすると問題が発生します。
私が従った手順:keeptoolbox
これを修正する方法を知っている人はいますか?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyKEP/__init__.py", line 1, in <module>
import core, sims_flanagan
File "/usr/local/lib/python2.7/dist-packages/PyKEP/core/__init__.py", line 2, in <module>
from _core import *
ImportError: libkeplerian_toolbox.so: cannot open shared object file: No such file or directory
ファイルlibkeplerian_toolbox.so
は にあり/usr/local/lib/libkeplerian_toolbox.so
ます。別の場所にコピーする必要がありますか?
ただし、すべてが正しいディレクトリにインストールされています。
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libkeplerian_toolbox.so
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/core/_core.so
-- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/PyKEP/core/_core.so"
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/core/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/sims_flanagan/_sims_flanagan.so
-- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/PyKEP/sims_flanagan/_sims_flanagan.so"
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/sims_flanagan/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/orbit_plots/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/orbit_plots/_plots.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/_ex1.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/_ex2.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/_ex3.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/_ex4.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/examples/_ex5.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/interplanetary/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/PyKEP/interplanetary/_mga_1dsm.py