sparkfun / Artemis-Firmware-Upload-GUI

A cross-platform GUI for uploading new firmware to an Artemis based device.
Other
27 stars 11 forks source link

Uploader fails in Linux Mint 19.1; PyQt5 not found #8

Closed n8ur closed 5 months ago

n8ur commented 4 years ago

I know the executable was compiled under Ubuntu, but since Linux Mint is a derivative I thought it should work...

Attempting to run the program terminates with an error: ModuleNotFoundError: No module named 'PyQt5'

I've checked and both python-pyqt5 and python3-pyqt5 are installed.

UPDATE: After realizing I needed to launch the .py using "python3 Artemis..." rather than assuming there was a shebang, I found the problem is that pyqt5.serialport was not installed. After installing that, I can run the .py script. But running the provided executable still fails with the missing PyQt5 error.

tykling commented 3 years ago

I am experiencing this same issue on Debian 10. Would be nice if the linux executable would come bundled with what it needs, or to have a normal setup.py with depends or a requirements.txt to make it work.

jerabaul29 commented 3 years ago

Same on Ubuntu 20.04. I had to fiddle around with a bit of apt install and pip3 in order to get the python3 script https://github.com/sparkfun/Artemis-Firmware-Upload-GUI/blob/master/tools/artemis_firmware_uploader_gui.py . After a bit of fixing dependencies it works well. I cannot get the executable to work.

timur-tabi commented 3 years ago

This bug has been around for almost a year, and still no fix? I'm also using Ubuntu 20 and have the same problem.

timur-tabi commented 3 years ago

I managed to get it working by installing a couple python3 modules:

sudo apt-get install python3-pyqt5.qtserialport python3-serial

However, only the python script in "tools" works. The GUI says that module PyQt5 cannot be found.

Chlorophytus commented 2 years ago

On openSUSE:

sudo zypper install python38-qt5
sudo zypper install python38-pyserial
jerabaul29 commented 2 years ago

Any update? Still not working on Ubuntu...

PaulZC commented 1 year ago

Hi @n8ur / All,

I finally found time to publish the new version of the GUI. The executables are now compiled using GitHub Actions and are automatically attached to each new release.

Can you please give v3.0.0 a try and let me know what you find?

https://github.com/sparkfun/Artemis-Firmware-Upload-GUI/releases

Sincere thanks, Paul

PaulZC commented 5 months ago

Closing this... Please reopen if you need more help.

Best wishes, Paul