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
PyInstaller works on the machine where python is installed not on users machine without python #5619
Comments
Did you build it using Anaconda Python? It looks like NumPy/Conda's missing |
Thank you for a quick response! |
It was fixed in #5168 so just install the development version:
Then rebuild but add the |
Thank you!
I looked up on the internet and found this solution:
But the path seems to be invalid
I think this issue, 1957 tries to explain it, but I cant understand the final conclusion except to try running with --onefile instead of --onedir |
That used to be a work-around for certain class of tkinter-related issues on macOS. It has been obsoleted on macOS in PyInstaller 4.x series, and is irrelevant to you anyway, as you're on Windows.
Can you post the full error message (the preceding lines up until If you're not using Tcl/Tk via If you are using |
Thank you. Now I am getting a different error. I have attached logs details |
I can't work out where PyInstaller puts |
I cant find it. |
It should be in PYZ. |
And I find it very odd that it wasn't collected; @snehalnair did you perhaps exclude it by accident? |
I tested it on one user machine, I have everything working fine there now. Steps followed based on the suggestions given: Appreciate your help! |
PyInstaller works on the machine where python is installed not on users machine.
Both the machines are 64bit Windows10.
User's Machine Command Line Messages: I have pasted below the last few lines of messages on command line before it shuts the window abruptly. I have attached the entire file incase you want to take a look at it.
import 'numpy.random._generator' # <_frozen_importlib_external.ExtensionFileLoader object at 0x000001B65B1FE8C8>
import 'numpy.random._pickle' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
import 'numpy.random' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
import numpy.ctypeslib # PyInstaller PYZ
import 'numpy.ctypeslib' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
import numpy.ma # PyInstaller PYZ
import numpy.ma.core # PyInstaller PYZ
import 'numpy.ma.core' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
import numpy.ma.extras # PyInstaller PYZ
import 'numpy.ma.extras' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
import 'numpy.ma' # <pyimod03_importers.FrozenImporter object at 0x000001B6580E8348>
cli.txt
The text was updated successfully, but these errors were encountered: