module - PyKEP python keplerian toolbox -
i followed instructions on installing keplerian toolbox python , went fine there issue when trying import modules.
instructions followed: keptoolbox
does know how can fix this?
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> _core import * importerror: libkeplerian_toolbox.so: cannot open shared object file: no such file or directory
the file libkeplerian_toolbox.so
in /usr/local/lib/libkeplerian_toolbox.so
. need copy somewhere else?
everything installed in correct directory though:
install 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 "/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 "/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
this linking problem, ldconfig
not in /usr/local/lib
default, need add file /etc/ld.so.conf
(just put under include statement). run
ldconfig
and error should gone.
Comments
Post a Comment