vscode-python: Can not create a virtual environment
Type: Bug
Hello, I am new to python and I am from Spain. I was learning how to code with the microsoft learning path called “Python for beginners”. The problem appeard when I was in the 3rd module. When I had to create a virtual environment I couldn´t because VS Code doesn´t accept “virtualenv env”. Then I started watching videos in youtube for how to create virtual environments and I did it like the videos said but when “virtualenv env” appeard I couldn´t continue coding while the youtubers could. The learning path is very good and I swear I will finish it but whithout creating the virtual environment i can not continue. Hope you could help me, Alexander
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z) OS version: Windows_NT x64 10.0.18363 Modes: Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-9400F CPU @ 2.90GHz (6 x 2904) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 7.94GB (2.51GB free) |
Process Argv | –crash-reporter-id 803b510f-5f11-4348-935a-b232792ec556 |
Screen Reader | no |
VM | 0% |
Extensions (7)
Extension | Author (truncated) | Version |
---|---|---|
python | ms- | 2023.6.0 |
vscode-pylance | ms- | 2023.3.40 |
jupyter | ms- | 2023.3.1000892223 |
jupyter-keymap | ms- | 1.1.0 |
jupyter-renderers | ms- | 1.0.15 |
vscode-jupyter-cell-tags | ms- | 0.1.8 |
vscode-jupyter-slideshow | ms- | 0.1.5 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsccsb:30677849
functionswalk:30687959
pythonms35:30701012
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (8 by maintainers)
You are welcome!
@WIZARDFlexo if you click
Yes
here VS Code will handle activation for you:First, go to command prompt:
Second, run following command:
That should activate the environment: