Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Line No. 554, /pagmo_plugins_nonfree/src/snopt7.cpp #212

Open
mhmsoota opened this issue Sep 23, 2021 · 0 comments
Open

Line No. 554, /pagmo_plugins_nonfree/src/snopt7.cpp #212

mhmsoota opened this issue Sep 23, 2021 · 0 comments

Comments

@mhmsoota
Copy link

Tried to install pykep using conda: but did not show installed or any message of success even after a lot of processing, then ended up using pip install pykep which showed success.
Working in VSCode, Conda environment where the pykep folder was present (Ubuntu 20.04).
When I tried to execute _ex11.py of pykep, I get this error:

(base) mhm@mhm:~/anaconda3/lib/python3.8/site-packages$ /home/mhm/anaconda3/bin/python /home/mhm/anaconda3/lib/python3.8/site-packages/pykep/examples/_ex11.py
Traceback (most recent call last):
  File "/home/mhm/anaconda3/lib/python3.8/site-packages/pykep/examples/_ex11.py", line 63, in <module>
    run_example11()
  File "/home/mhm/anaconda3/lib/python3.8/site-packages/pykep/examples/_ex11.py", line 43, in run_example11
    pop = algo.evolve(pop)
ValueError: 
function: evolve_version
where: /pagmo_plugins_nonfree/src/snopt7.cpp, 602
what: 
An error occurred while loading the snopt7_c library at run-time. This is typically caused by one of the following
reasons:

- The file declared to be the snopt7_c library, i.e. /usr/local/lib/libsnopt7_c.so, is not a shared library containing the necessary C interface symbols (is the file path really pointing to
a valid shared library?)
 - The library is found and it does contain the C interface symbols, but it needs linking to some additional libraries that are not found
at run-time.

We report the exact text of the original exception thrown:

 
function: evolve_version
where: /pagmo_plugins_nonfree/src/snopt7.cpp, 554
what: The snopt7_c library path was constructed to be: /usr/local/lib/libsnopt7_c.so and it does not appear to be a file

Ps: I am beginner at Ubuntu, Pykep and VSCode(have been using for a few months now)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant