mabl / PyPylon

An experimental python wrapper around the Basler Pylon 5 library
BSD 3-Clause "New" or "Revised" License
53 stars 34 forks source link

Building a .exe application with Pyinstaller #27

Closed AkhilAKrasH closed 7 years ago

AkhilAKrasH commented 7 years ago

I'm trying to build a .exe application to easily operate the camera with different (came OS) computers without installing all Python suite.

I have Python 3.5 and I had no problems with my Mono Basler camera (apart of the known problem with managing the buffer). However, when building the .exe Pypylon seems not to work at all. I have read in forums that it could be a problem with the imports done by Cython, but in this field I really do not know how can I get that information.

Have any of you tried this? Do you know which are the files, modules, I need to add to the build with Pyinstaller?

Thanks

AkhilAKrasH commented 7 years ago

I found the problem: apart from the .dlls that the code automatically includes from the Basler runtime drivers, there is an additional list of files that have to be added in the folder where the .exe is located in order to run properly.

You can find this list in the Pylon Deployment Guide, that should be in the Documentation folder from the Basler Pylon viewer suite (normally in C:\Program Files\Basler\pylon 5\Development\Doc)

Cheers

Deathcon5 commented 6 years ago

Hey Akhil, I'm having the same issue. I tried the list in the deployment guide, didn't work for me. I'm using the USB3 version of the da1280-um.

asegurpe commented 6 years ago

I need this list too, please!!

Thanks a lot.