ich möchte ein kleines aber feines Tool mittels pyinstaller mytool.py --onefile --noconsole in eine exe Datei packen.
Leider klappt das nicht und ich habe das Problem bei matplotlib lokalisiert, selbst folgendes Programm lässt sich nicht erfolgreich mittels pyinstaller (cx_freeze scheitert auch btw) umwandeln:
Code: Alles auswählen
import matplotlib.pyplot as plt
if __name__ == '__main__':
print "hello world"
Die letzte Meldung von PyInstaller lautet:
File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 796, in cacheDigest
data = open(fnm, "rb").read()
IOError: [Errno 22] invalid mode ('rb') or filename: ''
Kennt jemand das Problem und kann helfen?
Vielen Dank!