M
M
mezigar2021-07-12 16:16:19
Python
mezigar, 2021-07-12 16:16:19

Why is the file not executed when running .py via console?

Reinstalled python because pyinstaller didn't work. The path to the PATH variable was specified, the computer was restarted, but it still did not work. The pyinstaller python reinstall field worked, but the programs stopped activating:
python ./Main.py
In the console, it only leads to the inscription "Python" in the line below, the program itself does not start

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor, 2021-07-12
@mezigar

You must open the folder with the file in the console. And write:
python name.py
name = file name, without ./

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question