Jump to content
Sign in to follow this  

setting up the VS Code to work with Python - virtual environment-configuration

Recommended Posts

good day dear community, 

in my VSCode-project-folder I created the venv-folder with the following command: 

python -m venv venv

When I in VS Code run the command select python interpreter my venv folder does not show up.

Well - i think that have to go a level up - as it is suggested here in the tutorial: https://code.visualstudio.com/docs/python/python-tutorial

but VS Code doesn't see my virtual interpreter.


i need to get a closer idea of the setting up VSCode for the work with Python: - (again ) as it is shown here: https://code.visualstudio.com/docs/python/python-tutorial

Run Hello World
Select one or more lines, then press Shift+Enter or right-click and select Run Selection/Line in Python Terminal. ...
From the Command Palette (Ctrl+Shift+P), select the Python: Start REPL command to open a REPL terminal for the currently selected Python interpreter.
Get Started Tutorial for Python in Visual Studio Code

well i think that there is something wrong with the way to show virtual environments in vs code.

i guess that i have to do some corrections in the venv-settings (/set-up)

i have to check the data & seettings in venv through command prompt.

note: i work on Windows 

(at home i use linux - at the office i run VSCode on a win-box)

i guess that the settings virtual environments have to be corrected. 

any and all help for this task is greatly appreciated

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.