Pyinstaller and Phidgets

Supporting 2.7 and 3.2+
Post Reply
RedJoker
Fresh meat
Posts: 1
Joined: Fri Nov 15, 2024 1:16 pm
Contact:

Pyinstaller and Phidgets

Post 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?
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Pyinstaller and Phidgets

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests