2

I'm running Python 3.5.3 on Windows and I attempted to install Pyinstaller with pip. It seemed to work- no errors or anything, very simple as pip always is.

I tried import -m pyinstaller but it said the module didn't exist, so I checked the installation folder as the documentation says you should be able to use pyinstaller.py directly from the install location.

Here Here is a picture of that location, pyinstaller.py isn't there! It's not in any sub-folders or other folders either. I think I'm just missing something obvious but after an hour of uninstalling and reinstalling everything I'd appreciate if someone would help me out. Thanks!

Kenster
  • 23,465
  • 21
  • 80
  • 106
SSc
  • 21
  • 2

1 Answers1

2

Why import? you should run pyinstaller directly on your console:

pyinstaller --onedir your_app_main.py

or

pyinstaller --onefile your_app_main.py

check this PyInstaller Manual: https://pyinstaller.readthedocs.io/en/stable/

smearumi
  • 65
  • 8