#🔒 Need help installing pyinstaller

23 messages · Page 1 of 1 (latest)

keen lotus
#

Whenever i install pyinstaller it says its installed but when i use it i cant use it for some reason as it says there is no module named pyinstaller

true sequoiaBOT
#

@keen lotus

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

keen lotus
#

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

  • pyinstaller main.py
  •   + CategoryInfo          : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
turbid lodge
#

There’s a simple auto py to exe installer (pyinstaller gui version). Maybe you can try it?

turbid lodge
keen lotus
#

both arent working

tranquil osprey
keen lotus
#

py -m pip install pyinstaller

#

running the script in terminal

tranquil osprey
#

Did you activate the venv before doing the pip install?

keen lotus
#

venv?

tranquil osprey
#

(And before running the script)

keen lotus
#

(newish to python)

tranquil osprey
#

You'll see that the venv is activated by the text in front of your line, like e.g. here:

keen lotus
#

i run this in cmd right

tranquil osprey
#

I'm on Linux so activation looks a bit different here

tranquil osprey
keen lotus
#

kk

true sequoiaBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.