cryptotools icon indicating copy to clipboard operation
cryptotools copied to clipboard

Not working with pyinstaller

Open dzhizhkin opened this issue 3 years ago • 2 comments
trafficstars

I am building an application using pyinstaller. And I get an error: File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File "cryptotools/__init__.py", line 16, in <module> AttributeError: 'NoneType' object has no attribute 'load_module' [8311] Failed to execute script 'CryptoWallet' due to unhandled exception! I'm use command: pyinstaller --onefile --windowed --collect-all cryptotools myscript.py

dzhizhkin avatar Mar 21 '22 15:03 dzhizhkin

Hmm I guess you could try removing the for loop in cryptotools/__init__.py and manually populating __all__ from all the submodules

mcdallas avatar Mar 23 '22 12:03 mcdallas

I'm not testing this) Just, i'm check modules with other tools, and this not working

dzhizhkin avatar Apr 13 '22 12:04 dzhizhkin