In Python, you are trying to use PyInstaller
and getting the error "[path] is not recognized as the name of a cmdlet, function, script file, or operable program." when specifying your path.
Solution
The reason might be you have spaces in your specified path. To resolve this, wrap the path in quotes. Below is an example:
cd "D:\Usr\abc89383\YourDir - Vinish Kapoor docs\Documents\Code\Python\PyGame\snake.py"