stepjam / PyRep

A toolkit for robot learning research.
MIT License
689 stars 164 forks source link

VREP_ROOT defined, but is not a valid path. #79

Closed jianye0428 closed 4 years ago

jianye0428 commented 4 years ago

hello, I install the PyRep according to the tutorials. and I get this problem:

File "setup.py", line 2, in import cffi_build.cffi_build as cffi_build File "/home/jianye/PyRep/cffi_build/cffi_build.py", line 12, in raise RuntimeError('VREP_ROOT defined, but is not a valid path.') RuntimeError: VREP_ROOT defined, but is not a valid path.

and my path setting is: export VREP_ROOT=/home/jianye/vrep export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VREP_ROOT export QT_QPA_PLATFORM_PLUGIN_PATH=$VREP_ROOT

What is the problem ? jianye

remi2257 commented 4 years ago

1) Did you add these paths to your bashrc and then source it ? 2) Are VREP's files directly in "/home/jianye/vrep" on not in a subfolder like "/home/jianye/vrep/VREP_EDU_UBUNTU18"

Cheers

stepjam commented 4 years ago

Thanks @remi2257, these are good suggestions.

Also of note, V-REP has changed to CoppeliaSim. So @jianye0428 , I recommend removing V-REP and following the new instructions for installation. I am closing, please re-open if you have any problems.