No Module Named Pyinstaller

Posted on by admin
No Module Named Pyinstaller 9,8/10 9251 reviews

I used PyInstaller to create a.exe file for one of my psychopy scripts. When opening the.exe I get the following error: Traceback(most recent call last): File "psychopy_method.py", line 28 in <module> File "&hellip.

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.

Already on GitHub? Sign in to your account

Comments

commented Mar 20, 2017
edited

  • Ubuntu 16.04 LTS
  • Python 3.5.2
  • virtualenv 15.0.1

run.spec:

Python code run.py:

Building:

Error:

What am I missing?

Member

commented Mar 20, 2017

Related: #2141.

Please try the current development version.

Author

commented Mar 20, 2017
edited

Better but not good:

commented Mar 20, 2017

The QtWebEngineProcess is a direct duplicate of #2141, which will be addressed by #2519. Feel free to give comments/feedback on that PR if you want!

commented Mar 20, 2017
edited by ghost

So, here is where we are now:

Would you mind cloning my qtweb branch and then analyzing libQt5WebEngineCore.so with ldd to find out what its dependencies are?

Author

commented Mar 20, 2017

In which repository do you have this branch? I can't find it here.

commented Mar 20, 2017
edited by ghost

xoviat/pyinstaller

Also, it's qtweb, rather than qt5web. Sorry.

Author

commented Mar 20, 2017

I see a qtweb branch there but no qt5web.

commented Mar 20, 2017

Yeah, sorry about the typo.

Author

commented Mar 20, 2017
edited

Sorry having to ask again: Where do I find the libQt5WebEngineCore.so? The PyQt5 I've installed using pip3 in the virtualenv does not include it.

commented Mar 20, 2017
edited by ghost

That file should be generated after you run the patched pyinstaller in onedir mode on your script with qt webengine enabled. This message is coming from a test failure.

Author

commented Mar 20, 2017

Sorry, no such so anywhere :(

But I do find lib/python3.5/site-packages/PyQt5/QtWebEngineCore.so, probably installed by pip3 install PyQt5. Could the ldd of this be interesting?

commented Mar 20, 2017

No, it's tree dist.

Pyinstaller No Module Named Codecs

Author

commented Mar 20, 2017

I find this:

Sade the ultimate collection download zip. Noah and His Boat (Candle Playbook) by Juliet David, Gemma Denham (Illustrator) Board Book, 18 Pages, Published 2008 by Candle Books ISBN-13: 978-0-8254-7378-4. The First Christmas (Candle Playbook Series) is a Read To Me (Age 1-4) Board Book by Juliet DavidNoah's Busy Boat (Candle Peek a Boo).

commented Mar 20, 2017
edited by ghost

What is the output of tree dist? Travis at least adds the libQt5WebEngineCore.so, but it looks like you haven't even got that far.

Author

commented Mar 21, 2017

commented Mar 21, 2017

So it is there:

Can I have the ldd then?

Author

commented Mar 22, 2017

Here it is:

Author

commented Mar 28, 2017

@xoviat Did the lddAng istorya ng taxi driver plot. output help you?

Author

commented Apr 25, 2017

No Module Named Pyinstaller

@xoviat Did the output from ldd help? Is there any other information you need?

commented Apr 25, 2017

Unfortunately the pull request merge rate has been too slow for my liking. Working on a project with many outstanding PRs can potentially create merge conflicts. Download naruto shippuden 138 indo. I am going to wait on this until the current outstanding pull requests are merged.

Named
Author

commented Apr 25, 2017

Thank you for the information.

referenced this issue Dec 27, 2017

Hooks: Qt: Eliminate run-time hook by placing files in the correct di…
Member

commented Jan 31, 2018

No Module Named Pyinstaller

I'm closing this, since #3233 should fix it -- see the instructions there.

added this to the PyInstaller 3.4 milestone Sep 2, 2018

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment