[PyQt] pyinstaller and images

umbertofilippo at tiscali.it umbertofilippo at tiscali.it
Tue Oct 25 17:46:28 BST 2016


I am on a Windows machine, running pyinstaller from within a
virtual env created with conda.
I deployed my memory game using
Everything works except that I cannot visualize the images
I need. They are supposed to work with a call to QPixmap.
When I run the
script from the development folder, it works just fine.
When I run the
executable, I receive "QPixmap::scaled: Pixmap is a null pixmap" in teh
console, and no image is shown.

Is it something expected or is there a
way to debug this otherwise?
During the execution of the 'pyinstaller'
command, I received some errors and warnings, here is some

65950 WARNING: Can not get binary dependencies for file:
(most recent call last):
line 695, in getImports
 return _getImports_pe(pth)
line 122, in _getImports_pe
 dll, _ =
TypeError: a bytes-like object is required, not

Con Smart 3 Giga a 9 euro/4 sett navighi veloce, chiami e invii SMS dal tuo smartphone verso tutti i fissi e mobili in Italia. Passa a Tiscali Mobile! http://casa.tiscali.it/mobile/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161025/1d1d2a06/attachment.html>

More information about the PyQt mailing list