Skip to content

[Python Environments] enviroment not found #1520

Closed as not planned
Closed as not planned

Description

@sahabajkhan0

Type: Bug

Description

import osimport jsonimport asynciofrom fastapi import FastAPI, Requestfrom fastapi.responses import StreamingResponsefrom fastapi.middleware.cors import CORSMiddlewarefrom langchain_google_genai import ChatGoogleGenerativeAIfrom langchain_core.messages import HumanMessage

Steps to Reproduce

Expected Behavior

Actual Behavior

Environment Information
Extension Version: 1.30.0
Python Extension Version: 2026.4.0

Registered Environment Managers (5):
  - ms-python.python:system (Global)
  - ms-python.python:venv (venv)
  - ms-python.python:pyenv (PyEnv)
  - ms-python.python:pipenv (Pipenv)
  - ms-python.python:poetry (Poetry)

Total Available Environments: 7
Environment Details:
  1. Python 3.14.4 (3.14.4.final.0) - C:\Users\ASUS\AppData\Local\Python\bin\python.exe
  2. Python 3.14.4 (3.14.4.final.0) - C:\Users\ASUS\AppData\Local\Python\bin\python3.14.exe
  3. Python 3.14.4 (3.14.4.final.0) - C:\Users\ASUS\AppData\Local\Python\bin\python3.exe
  4. Python 3.14 (64-bit) (3.14.4) - C:\Users\ASUS\AppData\Local\Programs\Python\Python314\python.exe
  5. Python 3.14 (64-bit, freethreaded) (3.14.4) - C:\Users\ASUS\AppData\Local\Programs\Python\Python314\python3.14t.exe
  6. Python 3.11 (64-bit) (3.11.9) - C:\Users\ASUS\AppData\Local\Programs\Python\Python311\python.exe
  7. .venv (3.14.4) (3.14.4.final.0) - c:\Users\ASUS\OneDrive\Desktop\shopia\.venv\Scripts\python.exe

Python Projects (1):
  1. c:\Users\ASUS\OneDrive\Desktop\shopia
     Environment: Python 3.14.4

Extension Settings:
  Default Environment Manager: ms-python.python:venv
  Default Package Manager: ms-python.python:pip
Auto-activation is "command". Activation based on first 'py-env.terminal.autoActivationType' setting which is 'command' and 'python.terminal.activateEnvironment' if the first is undefined which is 'true'.

Extension version: 1.30.0
VS Code version: Code 1.119.0 (8b640eef5a6c6089c029249d48efa5c99adf7d51, 2026-05-05T11:23:50-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 7445HS w/ Radeon 740M Graphics (12 x 3194)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1901 [AMD Radeon 740M Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.21036.1002 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8328
Machine model name:
Machine model version:
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_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.27GB (3.61GB free)
Process Argv --crash-reporter-id b213dbcf-09fe-4fee-9bab-f194585874c7
Screen Reader yes
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
b6b4d950:31327385
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
bj468946:31457056
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
4je02754:31466945
c3h7c220:31478652
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
control_6dc23131:31511291
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31507493
7e187181:31503455
i2gc6536:31499202
ghj88844:31499326
ec1eg703:31491645
ddid_t:31478206
getcmakediagnosticson:31489824
g_d1382936:31512420
7df3h592:31512476
cp_cls_c_1082:31504161
logging_enabled_new:31498466
db5d2638:31499441
nes-extended-cfe-himalia-004:31500446
jb_cp_cls_c_632:31510883
b1ei0813:31506238
56dj4588:31512888
j7be3939_tst_off:31511780
32d76977:31512328
ha629193:31508444
539gd155_c:31506875
495e8e63:31509470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions