Python to Executable

Typically: "How do I... ", "How can I... " questions
Post Reply
jarelias
Posts: 6
Joined: 20 Aug 2014, 05:12

Python to Executable

Post by jarelias »

Hi

I have a simulation controller written in Python. I want to create an executable (.exe) but I'm having problems with the libraries from vrep. I have fallowed some procedures from different websites with no success. I’m afraid that vrep library may not be supported by the software that convert python to executable. Some converter websites have list of the third party libraries they support but I have not seen vrep on any of them. I believe it has to be possible somehow because the code runs with no problem when the python script is executed.

Does anybody have any experience on this topic. It would be appreciated some direction about anything you have done before.

Thank you

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

Re: Python to Executable

Post by coppelia »

Unfortunately we have no experience with that. But that should be feasable, since the only dependency would be a c library file (the dll, so or dylib).

Cheers

jarelias
Posts: 6
Joined: 20 Aug 2014, 05:12

Re: Python to Executable

Post by jarelias »

After some trials i could do it.

In case you face the same problem I let you know that I used py2exe software following their procedure but making sure that:

- Files vrep.py, vrep.pyc, vrepConst.py, vrepConst.pyc must be in the same location as the python script you want to convert
- remoteApi.dll has to be in dist folder.

Cheers

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

Re: Python to Executable

Post by coppelia »

Thanks for the clarification!


Cheers

Post Reply