Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python testing run with wrong interpreter #22631

Closed
laipz8200 opened this issue Dec 12, 2023 · 3 comments
Closed

Python testing run with wrong interpreter #22631

laipz8200 opened this issue Dec 12, 2023 · 3 comments
Assignees
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@laipz8200
Copy link

Type: Bug

Python Testing cannot found pip in my enviroment.

In Python's logs, I see it run ./.venv -c "import pytest" and ./.venv -c "import pip", seems its a wrong path.

Extension version: 2023.23.13391009
VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T22:27:05.695Z)
OS version: Linux x64 5.15.77-amd64-desktop
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (12 x 2900)
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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 15.48GB (7.15GB free)
Process Argv . --crash-reporter-id d918d1dc-2819-48c4-a243-7cf380fc199d
Screen Reader yes
VM 0%
DESKTOP_SESSION deepin
XDG_CURRENT_DESKTOP Deepin
XDG_SESSION_DESKTOP deepin
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
showlangstatbar:30737416
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30885897
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
dsvsc019:30917259

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 12, 2023
@laipz8200 laipz8200 changed the title TESTING with wrong interpreter Python testing run with wrong interpreter Dec 12, 2023
@cp2boston
Copy link

Same here. The correct path should be ./.venv/bin/python -c .... Reverting to the previous release resolved it to the correct pattern

@eleanorjboyd
Copy link
Member

Hello! Could you include a layout of your project and your logs from the python output channel? For your logs, can you first set your log level to trace via theDeveloper: set log level command in the command palette? With these I can better help figure out what might be going wrong. Thanks

@eleanorjboyd
Copy link
Member

this is the same as: #22618. Consolidating discussion there, and looking for repro steps if you have them. Thanks

@eleanorjboyd eleanorjboyd closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants