Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not working with pyinstaller #34

Open
dzhizhkin opened this issue Mar 21, 2022 · 2 comments
Open

Not working with pyinstaller #34

dzhizhkin opened this issue Mar 21, 2022 · 2 comments

Comments

@dzhizhkin
Copy link

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

@mcdallas
Copy link
Owner

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

@dzhizhkin
Copy link
Author

dzhizhkin commented Apr 13, 2022

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants