H
H
happyjuic2022-02-21 16:38:40
Python
happyjuic, 2022-02-21 16:38:40

When you try to run the command ( py -3 main.py ) does it say "py" is not an internal or external command, operable program, or batch file?

At the same time, pip and python work correctly.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
JiMoon, 2022-02-22
@Jimoon

python3 main.py

A
Andy_U, 2022-02-22
@Andy_U

Since py.exe is installed (along with Python) in C:\Windows, which is explicit in Path, then you most likely did not install it (if installed, it is visible in the Control Panel in the list of installed programs like Python Launcher, it seems)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question