Python command does not work

Asked

Viewed 49 times

0

As you can see, I cannot access python from the terminal

inserir a descrição da imagem aqui

I’ve checked the system variables

inserir a descrição da imagem aqui

1 answer

-1

There are some hypotheses...

If you have just set the environment variables, before calling Python, you need to restart CMD/Powershell.

Also, make sure that the environment variables are set for both the Sistema how much for the Usuário.

Opções de variáveis de ambiente

Finally, if none of the options work out, I suggest you reinstall Python, using the standard step-by-step installation, to ensure that the environment variables are set correctly.

If you have problems with losing dependencies, I suggest you install them in a virtual environment next time.

  • So, I’ve done all this, I’ve restarted the pc, I’ve installed python and I’ve restarted the pc and so on

Browser other questions tagged

You are not signed in. Login or sign up in order to post.