'Pyinstaller Is Not Recognized

I know this question has been asked before and I have researched and used the following steps to no avail, each one of them:

Pyinstaller is not recognized as internal or external command

'pyinstaller' is not recognized as an internal or external command, operable program or batch file

Pyinstaller not recognized

I have installed and reinstalled Pyinstaller and have added it through the command line and manually to the PATH environment variable.

When I use pip show pyinstaller i get this as its path:

c:\users\globe\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages

Edit: I am using Python 3.9.7, Windows 11, Pip list results in: pyinstaller 4.8 and pyisntaller-hooks-contib 2022

I installed pyinstaller via pycharm Python3 -m pip install pyinstaller and via the command prompt when that did not work

I am not sure what else to do as it has its location in the PATH and is certainly installed.

Any Advice?



Solution 1:[1]

I uninstalled multiple versions of python and reinstalled clicking the "Add to Python to PAth" option upon setup

Solution 2:[2]

If anyone else has the same Problem as Numerlor mentioned invoking it with python -m PyInstaller worked in a normal Terminal or Powershell

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 kevin00756