Skip to content

virtual environment not an option #115170

@ldaumail

Description

@ldaumail

Hello,

I created a virtual environment in my home directory with:
"python3 -m venv ~/scicomp/env"

I then activated it using:
"source scicomp/env/bin/activate"

Then I launched visual code using:
"code"

Finally, I wanted to select my virtual environment. However, I wasn't able to find it in "python: select interpreter" options.

I am not sure why.

Thanks in advance for your help!
Best regards,
-Loïc

Informations:

CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled
Load (avg) 1, 2, 1
Memory (System) 16.00GB (2.84GB free)
Process Argv --crash-reporter-id 3a96d590-5986-47d5-ac52-691eb93cb249
Screen Reader no
VM 0%
Extension Author (truncated) Version
python ms- 2021.1.502429796
jupyter ms- 2020.12.414227025

vsliv368:30146709
vsreu685:30147344
openlogontheside:30221877
python383cf:30185419
pythonvspyt617:30244266
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30211401
wsl2prompt:30224612
vstry914:30250197
pythonvsdeb440:30248342
unusedprompt:30224610
folderexplorercf:30224615
openfilemenu:30224647
pythonvsded773:30248341
vstes516:30244333
pythonvspyt600cf:30247032

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions