Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97313

Python not working in Visual Studio Code via the Integrated Terminal

$
0
0

I am playing with Flask, and want to use Visual Studio Code.

I have changed the default shell to be CMD and not Powershell within Visual Studio Code.

I want to use a CONDA environment called ARIEL, and have configured this (workspace settings are below):

{
    "python.pythonPath": "C:\\ProgramData\\Anaconda3\\envs\\ariel\\python.exe"
}

In VS Code, I am creating a new Integrated Terminal, thinking it would pick up the python virtual env as above. But in the terminal, when I type "python", it simply opens up the Windows App Store page, trying to get me to install python.

No normal commands like "pip" working in the Integrated shell within VS Code either.

enter image description here

Trying to follow this example:

https://code.visualstudio.com/docs/python/tutorial-flask


Viewing all articles
Browse latest Browse all 97313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>