I have installed the Pyinstaller pip correctly and I want to use Pyinstaller to create a .exe file, but my VSCode Powershell terminal throws an error when I run the following command pyinstaller -W myfile.py
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.
- pyinstaller -W myfile.py
+ CategoryInfo : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I have done some online research, but I haven't found someone with the same error using Pyinstaller. So I would really appreciate your help.