1
我按照關於爲python安裝keplerian工具箱的說明,一切都很順利,但嘗試導入模塊時出現問題。PyKEP python keplerian工具箱
我說明如下:keptoolbox
有誰知道我怎麼能解決這個問題?
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
你是男人的謝意。 – dustin 2013-05-10 16:51:28