problem with python remoteApi.dll

Report crashes, strange behaviour, or apparent bugs
Post Reply
Hrithik Verma
Posts: 22
Joined: 07 Sep 2020, 21:20
Contact:

problem with python remoteApi.dll

Post by Hrithik Verma »

Although i have place sim.py , simConst.py and remoteApi.dll in the same folder still its showing a problem:

Code: Select all

  import sim
  File "C:\Users\verma\Documents\vrep-python\sim.py", line 38, in <module>
    c_GetJointMaxForce          = ct.CFUNCTYPE(ct.c_int32,ct.c_int32, ct.c_int32, ct.POINTER(ct.c_float), ct.c_int32)(("simxGetJointMaxForce", libsimx))
AttributeError: function 'simxGetJointMaxForce' not found
I am not able to connect V-rep with python please help!!!!

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: problem with python remoteApi.dll

Post by coppelia »

Hello,

what version of CoppeliaSim are you running? If you are not running the latest version, then use the correct release tag of the related library/repository, e.g.:

if you are running CoppeliaSim V4.0.0, then use these legacy remote API binding files, tagged as version V4.0.0, or this V4.0.0 source tree.

Cheers

Post Reply