DonJayamanne / python-extension-pack

Popular Visual Studio Code extensions for Python
MIT License
37 stars 18 forks source link

Version mismatch in remote container #28

Open ShrimpLau opened 2 years ago

ShrimpLau commented 2 years ago

Issue Type: Bug

Environment: Remote Ubuntu 20.04LTS container
From cli: There is no python2.7 version:

root@training:~/toolchain# whereis python
python: /usr/bin/python /usr/bin/python3.8-config /usr/bin/python3.8 /usr/lib/python3.9 /usr/lib/python3.8 /etc/python3.8 /usr/local/lib/python3.8 /usr/include/python3.8   

In python env interpreter:
image

/usr/bin/python is tagged as Python 2.7.16 64-bit, and it is exactly what my default python 3.8.10 is, since the packages I installed can be interpreted only when I choose the 2.7 one.
It is not a severe error but can mislead the selection.

Extension version: 1.7.0 VS Code version: Code 1.66.2 (Universal) (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:49:20.994Z) OS version: Darwin x64 20.4.0 Restricted Mode: No Remote OS version: Linux x64 5.4.0-107-generic Remote OS version: Linux x64 5.4.0-107-generic

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
webgl: unavailable_software
webgl2: unavailable_software| |Load (avg)|3, 4, 4| |Memory (System)|16.00GB (0.26GB free)| |Process Argv|--crash-reporter-id 909fcb8c-13c2-43ed-a18e-56931d31d219| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: training| |OS|Linux x64 5.4.0-107-generic| |CPUs|AMD EPYC 7643 48-Core Processor (96 x 2228)| |Memory (System)|1007.56GB (961.50GB free)| |VM|0%| |Item|Value| |---|---| |Remote|Container lqq_torch (tc) @ ssh://training| |OS|Linux x64 5.4.0-107-generic| |CPUs|AMD EPYC 7643 48-Core Processor (96 x 2287)| |Memory (System)|1007.56GB (961.50GB free)| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebug:30475216 ```