Home > Software engineering >  Why do I get traceback erros when using python on CMD?
Why do I get traceback erros when using python on CMD?

Time:08-29

I dont really know what's happening here. I installed python 3.10.6 but I can seem to any python commands in windows cmd.

I was trying to install opencv for a project. But can seem to use pip or any other python commands. Need help. Thanks!

CodePudding user response:

When you first typed "python" you activated the interactive console. To exit you can type "exit()". Then you can type "python -v"

CodePudding user response:

From the screenshot i see that the issue is you are trying to run python -V or pip commands from the python shell which is incorrect, you supposed to run these commands directly without typing python first.

  • Related