#🔒 Need help installing pyinstaller
23 messages · Page 1 of 1 (latest)
@keen lotus
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.
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
There’s a simple auto py to exe installer (pyinstaller gui version). Maybe you can try it?
Also are you using shell terminal? Maybe that is the reason why you can’t access pyinstaller
Ty ill try that
im using command prompt and the vs code terminal
both arent working
How did you install the package and how are you running the script?
Did you activate the venv before doing the pip install?
venv?
(And before running the script)
(newish to python)
Creating the venv: https://docs.python.org/3/library/venv.html#creating-virtual-environments
python -m venv /path/to/new/virtual/environment
Usually this will be, for Windows:
py -m venv .\.venv
Then to activate it:
- Windows:
.venv\Scripts\activate
You'll see that the venv is activated by the text in front of your line, like e.g. here:
i run this in cmd right
I'm on Linux so activation looks a bit different here
Yeah. Make you're you've cd'd to the project folder
kk
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.