Closed jjpatino-byte closed 1 year ago
@stepjam Do you know what can I do? I have tried with the Coppelia 4.1.0 version, but I get the same error
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When I try to run my Python code, I get the following:
Traceback (most recent call last): File "prueba.py", line 1, in
from pyrep import PyRep
File "/home/jose/.local/lib/python3.8/site-packages/pyrep/init.py", line 5, in
from .pyrep import PyRep
File "/home/jose/.local/lib/python3.8/site-packages/pyrep/pyrep.py", line 3, in
from pyrep.backend import sim, utils
File "/home/jose/.local/lib/python3.8/site-packages/pyrep/backend/sim.py", line 2, in
from ._sim_cffi import ffi, lib
ImportError: libcoppeliaSim.so: cannot open shared object file: No such file or directory
I have tried many things, but nothing works. I have added these lines to my bashrc:
export COPPELIASIM_ROOT=~/software/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu20_04 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COPPELIASIM_ROOT export QT_QPA_PLATFORM_PLUGIN_PATH=$COPPELIASIM_ROOT export LD_LIBRARY_PATH=/opt/ros/noetic/libstd_srvs__rosidl_typesupport_cpp.so