简体   繁体   中英

How can I start python console from Windows cmd after Anaconda Platform has been upgraded?

I know this sounds like a noob question but I'm not sure where to look nor what to look for.

Before upgrading Anaconda's Platform I was able to open a Windows command prompt, type "python" and then start my scripting on console. But now that I've upgraded Anaconda, when I type "python" I only get a message showing the python and Anaconda versions.

Message shown by console after typing "python"

I've set my PATH environment variable to

...AppData\Local\Continuum\Anaconda

as it was before the upgrade, I've even navigated to that same path and tried running the python file from there and still got just the message.

I have pycharm installed, and my projects interpreter is set to that same directory but it says the python version is 2.7.9 while the version shown in console is 2.7.13.

Any ideas?

The command which python will give you the path of python.exe that runs python on your console. While in Pycharm, it is up to Project Interpreter setting. If what you get from which python is not the one you want, type in the full path of the python.exe you want, or change directory to its folder and run.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM