Dll fichiers manquants lors de l'utilisation de pyinstaller

Bonne journée!

Je suis à l'aide de python 3.5.2 avec qt5, pyqt5 et sip14.8.
Je suis également en utilisant les dernières pyinstaller bracnch (3.3.dev0+g501ad40).

Je suis en train de créer un fichier exe de base pour un programme "hello world".

from PyQt5 import QtWidgets
import sys

class newPingDialog(QtWidgets.QMainWindow):

def __init__(self):
    super(newPingDialog, self).__init__()
    self.setGeometry(50, 50, 500, 300)
    self.setWindowTitle("hello!")
    self.show()


app = QtWidgets.QApplication(sys.argv)
GUI = newPingDialog()
sys.exit(app.exec_())

Au premier abord, j'ai utilisé pour obtenir quelques erreurs concernant crt-msi. J'ai donc réinstallé SDK et c++ runtime et les a ajoutés à mon environnement.
Mais maintenant, je continue à recevoir des erreurs sur les dll manquantes (qsvg, Qt5PrintSupport)

6296 WARNING: lib not found: Qt5Svg.dll dependency of C:\users\me\appdata\local\programs\python\python35\lib\site-pac
kages\PyQt5\Qt\plugins\imageformats\qsvg.dll
6584 WARNING: lib not found: Qt5Svg.dll dependency of C:\users\me\appdata\local\programs\python\python35\lib\site-pac
kages\PyQt5\Qt\plugins\iconengines\qsvgicon.dll
6992 WARNING: lib not found: Qt5PrintSupport.dll dependency of C:\users\me\appdata\local\programs\python\python35\lib
\site-packages\PyQt5\Qt\plugins\printsupport\windowsprintersupport.dll
7535 WARNING: lib not found: Qt5PrintSupport.dll dependency of c:\users\me\appdata\local\programs\python\python35\lib
\site-packages\PyQt5\QtPrintSupport.pyd
8245 INFO: Looking for eggs
8245 INFO: Using Python library c:\users\me\appdata\local\programs\python\python35\python35.dll
8246 INFO: Found binding redirects:

J'ai vérifié et les deux dll existent et ont leur CHEMIN ensemble. J'ai aussi essayé d'ajouter manuellement à mon dist dossier, mais il n'a pas aidé.

Je vais très apprécie tous les conseils que vous pourriez avoir!

  • "insérer une dll dans votre exe' est dure. essayez d'ajouter as source pour le générateur de configuration. Une chose from x import y pas eual à import x.y ou import x.y as z
InformationsquelleAutor shultz | 2016-07-30