Page 1 of 1

Pyinstaller and Phidgets

Posted: Fri Nov 15, 2024 1:19 pm
by RedJoker
Is there something special needed when using pyinstaller on a python project that uses phidgets? The error I'm getting on the target machine is "Failed to load dynlib/dll 'phidget22.dll'"

The target machine does not have python or any libraries installed outside of the .exe created by pyinstaller.

Any suggestions?

Re: Pyinstaller and Phidgets

Posted: Mon Nov 18, 2024 10:27 am
by Patrick
Hi,

If you're on windows, you can use the phidget22native pip package (in place of phidget22) to install the phidget22.dll alongside the python library. Otherwise, you need the make sure the Phidget libraries are installed separately.

-Patrick