PyRep: running headless error
hello ,after installing pyrep,i run headless,my code is :
sudo apt-get install xvfb
xvfb-run python3 examples/example_baxter_pick_and_pass.py
but i get an error :
ImportError: /home/xiximu/anaconda3/envs/pyrep_env/lib/python3.6/site-packages/pyrep/backend/_sim_cffi.cpython-36m-x86_64-linux-gnu.so: undefined symbol: simAddLog
i do not know what i should do then i can solve this problem .thank you !
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (9 by maintainers)
i meet the same problem while running the program outside the pyrep root. the true reason is that in terminal we have set the environment variables of LD_LIBRARY_PATH, COPPELIASIM_ROOT and QT_QPA_PLATFORM_PLUGIN_PATH in ~/.bashrc, but in Pycharm which is not set by default. by setting these environment variables in Pycharm>RUN>Edit Configurations>Environment variables, the problem has been fixed.