No Module Named Pyinstaller

0915

Pyinstaller 3.3.1 eskemojoe007 commented Jun 27, 2018 Like @iliketrainz98, I needed to add all of those packages to my hidden imports. My goal is to build an executable using pyinstaller. The python script I am trying to build imports grpc. The following is an example that illustrates the.

  1. Python Importerror No Module Named Requests

Join GitHub today

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

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

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

Named

Already on GitHub? Sign in to your account

Comments

commented Mar 6, 2015

Hi,
I'm facing an error while trying to build a binary for python program which uses sqlparse. can you please help me resolve this issue?

This is the error that I observed when tries to run the binary generated by the pyinstaller.
Traceback (most recent call last):
File ', line 1, in
ImportError: No module named sqlparse

However running the python program throws no such errors:

SourceCode:

Pyinstaller command & logs:

My sys.path values are:

Please let me know if more information needed.
Thanks,
Vinod

Python Importerror No Module Named Requests

Member

commented Mar 6, 2015

Am 06.03.2015 um 21:08 schrieb vinodsharma:

This is the error that I observed when tries to run the binary
generated by the pyinstaller.
Traceback (most recent call last):
File ', line 1, in
ImportError: No module named sqlparse

Thanks for your short example. Unfortunately I can not reproduce this
here using current PyInstaller developer-version and sqlparse just
installed from pip.

Please folow the guide at
https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong.

Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/openstreetmap-karten-in-typo3-einbinden
Kolumne:
http://www.cissp-gefluester.de/2011-10-aus-der-schublade-in-die-koepfe

Author

commented Mar 7, 2015

No Module Named Pyinstaller

Thanks for replying & providing a useful link. I just removed the pyinstaller and installed it again from the pip. Now issue is gone. Seems like something was broken with my pyinstaller installation.

locked and limited conversation to collaborators Mar 7, 2015

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
This entry was posted on 15.09.2019.