PyRep: A problem about PyRep version `Qt_5.12' not found

hello,

I want to use PyRep to control the object in Vrep and run the code below: [code]from pyrep import PyRep[/code]

and a problem arises:

/home/jianye/anaconda3/lib/libQt5Core.so.5: version `Qt_5.12’ not found (required by /usr/lib/libv_rep.so.1)

any advice?

Thanks in advance!

Jian Ye

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 15 (2 by maintainers)

Most upvoted comments

“/home/jianye/anaconda3/lib/libQt5Core.so.5:” your anaconda env is linking to its own qt binaries.

First create an env just for pyrep!

  1. conda list | grep ‘qt’

  2. Check what packages do you have with qt

  3. conda remove --force <INSERT_EACH_PACKAGE> (–force only removes the package and not its dependencies)

  4. try to run it again

I’m glad it worked! I think is because conda envs are at the beginning of your PATH variable, so they look for the binaries there. But it is just a guess.