Skip to content
Advertisement

Tag: pyqt

How do I run a Python Qt file in Ubuntu?

Here’s the sample code that I want to run: The file is saved as sample.py. The following command isn’t working: Answer You need to start the Qt event loop by calling app.exec_() once you have initialised the widgets and called show() on your main window.

How to compile python with PyInstaller in Linux

I am using Python 3.5.2 , PyQt 5.7 , PyInstaller 3.2 and I’m in Linux I can compile file.py with : pyinstaller file.py but when I run the binary file in Build folder it returns: Error loading Python lib ‘/home/arash/build/file/libpython3.5m.so.1.0’: /home/arash/build/file/libpython3.5m.so.1.0: cannot open shared object file: No such file or directory Where is the python library (.so file) to copy

Logging python errors on raspberry pi

I’m having a helluva time debugging a python app I’ve written for an embedded raspberry pi project I’m working on because it’s using a TFT screen instead of a full monitor and has no monitor/keyboard, so i’m having to launch the python app via an icon on the TFT desktop (very small). I can’t launch the app via SSH because

Advertisement