'The term 'auto-py-to-exe' is not recognized error while converting the .py file to .exe
After I finish my python project, I tried to convert it to .exe file so I use python version 3.10 I already installed the auto-py-to-exe app from the cmd but when I want to open it I get this error
auto-py-to-exe : The term 'auto-py-to-exe' 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
- auto-py-to-exe
-
+ CategoryInfo : ObjectNotFound: (auto-py-to-exe:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Solution 1:[1]
Check if you added Python and Python Scripts to your PATH.
- Search for "Edit the system environment variables" (Windows Search) and click the first result
- Click "Environment Variables..." in the window that opened
- In the "System variables" section double click the "Path" variable
- In the window that opened click the "New" button and type
C:\Python310\there. Create another entry and typeC:\Python310\Scripts\there. - Click "OK"
Now open the command prompt (make sure to not open the terminal) and type in auto-py-to-exe or autopytoexe, both should work.
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 | nnaem |
