forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Testing #22075
Not sure that I am testing this correctly but when re-entering the "Create Env" flow and sticking to the existing conda env I get asked to pick a python version. It seems that no matter what I select that the "status bar version" doesn't change
Screen.Recording.2023-09-26.at.15.01.31.mov
Details
2023-09-26 14:57:01.160 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-26 14:57:01.160 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-26 14:57:01.160 [info] Experiment 'pythonSurveyNotificationcf' is active
2023-09-26 14:57:01.160 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-09-26 14:57:01.160 [info] Experiment 'pythonTestAdapter' is active
2023-09-26 14:57:01.160 [info] Test server listening.
2023-09-26 14:57:01.160 [info] Python interpreter path: /bin/python3
2023-09-26 14:57:02.927 [info] Starting Pylance language server.
2023-09-26 14:57:38.608 [info] > conda info --json
2023-09-26 14:57:38.623 [info] > ~/.conda/bin/conda info --json
2023-09-26 14:57:38.637 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 14:57:39.463 [info] > ./.conda/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:57:39.471 [info] > ~/miniconda3/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:57:39.945 [info] > ./.conda/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:57:50.795 [info] > conda info --json
2023-09-26 14:57:50.795 [info] shell: bash
2023-09-26 14:57:50.797 [info] Discover tests for workspace name: Code - uri: /home/parallels/Code
2023-09-26 14:57:50.798 [info] Python interpreter path: ./.conda/bin/python
2023-09-26 14:57:50.811 [info] > ~/.conda/bin/conda info --json
2023-09-26 14:57:50.811 [info] shell: bash
2023-09-26 14:57:50.820 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 14:57:50.820 [info] shell: bash
2023-09-26 14:57:51.420 [info] > ~/miniconda3/bin/conda run -p ./.conda --no-capture-output python ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/printEnvVariables.py
2023-09-26 14:57:51.420 [info] shell: bash
2023-09-26 14:57:52.230 [info] > /bin/python3 ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/printEnvVariables.py
2023-09-26 14:57:52.230 [info] shell: bash
2023-09-26 14:58:18.488 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 14:58:18.858 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 14:58:29.965 [info] Selected Python version 3.10 for creating conda environment.
2023-09-26 14:58:29.971 [info] Deleting conda environment: /home/parallels/Code/.conda
2023-09-26 14:58:29.971 [info] Running command: /home/parallels/miniconda3/bin/python -m conda env remove --prefix /home/parallels/Code/.conda --yes
2023-09-26 14:58:30.443 [info]
Remove all packages in environment /home/parallels/Code/.conda:
2023-09-26 14:58:30.449 [info] Running Conda Env creation script: [
'/home/parallels/miniconda3/bin/python',
'/home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/create_conda.py',
'--git-ignore',
'--install',
'--python',
'3.10'
]
2023-09-26 14:58:30.476 [info] Running: /home/parallels/miniconda3/bin/python -m conda create --yes --prefix .conda python=3.10
2023-09-26 14:58:30.476 [info]
2023-09-26 14:58:30.491 [info] > python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:58:30.495 [error] [Error: Command failed: python -I /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
/bin/sh: 1: python: not found
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12)] {
code: 127,
killed: false,
signal: null,
cmd: 'python -I /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py'
}
2023-09-26 14:58:30.653 [info] Collecting package metadata (current_repodata.json): ...working...
2023-09-26 14:58:31.221 [info] done
Solving environment: ...working...
2023-09-26 14:58:31.259 [info] done
2023-09-26 14:58:31.283 [info] ==> WARNING: A newer version of conda exists. <==
current version: 23.5.2
latest version: 23.7.4
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.7.4
2023-09-26 14:58:31.304 [info] ## Package Plan ##
environment location: /home/parallels/Code/.conda
added / updated specs:
- python=3.10
The following packages will be downloaded:
package | build
---------------------------|-----------------
pip-23.2.1 | py310hd43f75c_0 2.7 MB
python-3.10.13 | h4bb2201_0 13.2 MB
setuptools-68.0.0 | py310hd43f75c_0 952 KB
wheel-0.38.4 | py310hd43f75c_0 64 KB
------------------------------------------------------------
Total: 16.8 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-aarch64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-aarch64::_openmp_mutex-5.1-51_gnu
bzip2 pkgs/main/linux-aarch64::bzip2-1.0.8-hfd63f10_2
ca-certificates pkgs/main/linux-aarch64::ca-certificates-2023.08.22-hd43f75c_0
ld_impl_linux-aar~ pkgs/main/linux-aarch64::ld_impl_linux-aarch64-2.38-h8131f2d_1
libffi pkgs/main/linux-aarch64::libffi-3.4.4-h419075a_0
libgcc-ng pkgs/main/linux-aarch64::libgcc-ng-11.2.0-h1234567_1
libgomp pkgs/main/linux-aarch64::libgomp-11.2.0-h1234567_1
libstdcxx-ng pkgs/main/linux-aarch64::libstdcxx-ng-11.2.0-h1234567_1
libuuid pkgs/main/linux-aarch64::libuuid-1.41.5-h998d150_0
ncurses pkgs/main/linux-aarch64::ncurses-6.4-h419075a_0
openssl pkgs/main/linux-aarch64::openssl-3.0.11-h2f4d8fa_2
pip pkgs/main/linux-aarch64::pip-23.2.1-py310hd43f75c_0
python pkgs/main/linux-aarch64::python-3.10.13-h4bb2201_0
readline pkgs/main/linux-aarch64::readline-8.2-h998d150_0
setuptools pkgs/main/linux-aarch64::setuptools-68.0.0-py310hd43f75c_0
sqlite pkgs/main/linux-aarch64::sqlite-3.41.2-h998d150_0
tk pkgs/main/linux-aarch64::tk-8.6.12-h241ca14_0
tzdata pkgs/main/noarch::tzdata-2023c-h04d1e81_0
wheel pkgs/main/linux-aarch64::wheel-0.38.4-py310hd43f75c_0
xz pkgs/main/linux-aarch64::xz-5.4.2-h998d150_0
zlib pkgs/main/linux-aarch64::zlib-1.2.13-h998d150_0
Downloading and Extracting Packages
2023-09-26 14:58:31.320 [info] setuptools-68.0.0 | 952 KB | | 0%
2023-09-26 14:58:31.320 [info] python-3.10.13 | 13.2 MB | | 0% �[A
2023-09-26 14:58:31.321 [info] wheel-0.38.4 | 64 KB | | 0% �[A�[A
2023-09-26 14:58:31.322 [info]
2023-09-26 14:58:31.322 [info] pip-23.2.1 | 2.7 MB | | 0% �[A�[A�[A
2023-09-26 14:58:31.498 [info]
2023-09-26 14:58:31.498 [info] wheel-0.38.4 | 64 KB | ##4 | 25% �[A�[A
2023-09-26 14:58:31.507 [info] wheel-0.38.4 | 64 KB | ########## | 100% �[A�[A
2023-09-26 14:58:31.510 [info] pip-23.2.1 | 2.7 MB | | 1% �[A�[A�[A
2023-09-26 14:58:31.522 [info] setuptools-68.0.0 | 952 KB | 1 | 2%
2023-09-26 14:58:31.570 [info] python-3.10.13 | 13.2 MB | | 0% �[A
2023-09-26 14:58:31.615 [info] pip-23.2.1 | 2.7 MB | #5 | 16% �[A�[A�[A
2023-09-26 14:58:31.623 [info] setuptools-68.0.0 | 952 KB | #########5 | 96%
2023-09-26 14:58:31.673 [info] python-3.10.13 | 13.2 MB | 3 | 4% �[A
2023-09-26 14:58:31.716 [info] pip-23.2.1 | 2.7 MB | #######2 | 72% �[A�[A�[A
2023-09-26 14:58:31.724 [info] setuptools-68.0.0 | 952 KB | ########## | 100%
2023-09-26 14:58:31.773 [info] python-3.10.13 | 13.2 MB | # | 10%
2023-09-26 14:58:31.774 [info] �[A
2023-09-26 14:58:31.875 [info] python-3.10.13 | 13.2 MB | ##1 | 21% �[A
2023-09-26 14:58:31.926 [info] pip-23.2.1 | 2.7 MB | ########## | 100%
2023-09-26 14:58:31.926 [info] �[A�[A�[A
2023-09-26 14:58:31.976 [info] python-3.10.13 | 13.2 MB | ###8 | 38% �[A
2023-09-26 14:58:32.076 [info]
2023-09-26 14:58:32.076 [info] python-3.10.13 | 13.2 MB | #####4 | 55% �[A
2023-09-26 14:58:32.178 [info] python-3.10.13 | 13.2 MB | ######9 | 69% �[A
2023-09-26 14:58:32.278 [info] python-3.10.13 | 13.2 MB | ########3 | 83% �[A
2023-09-26 14:58:32.405 [info] python-3.10.13 | 13.2 MB | #########6 | 97% �[A
2023-09-26 14:58:32.541 [info] > python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:58:32.544 [error] [Error: Command failed: python -I /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
/bin/sh: 1: python: not found
at ChildProcess.exithandler (node:child_process:431:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12)] {
code: 127,
killed: false,
signal: null,
cmd: 'python -I /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py /home/parallels/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py'
}
2023-09-26 14:58:32.554 [warning] Failed to check if /home/parallels/Code/.conda/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/home/parallels/Code/.conda/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/home/parallels/Code/.conda/bin/python'
}
2023-09-26 14:58:32.556 [warning] Identifier for virt-virtualenv failed to identify /home/parallels/Code/.conda/bin/python [Error: ENOENT: no such file or directory, scandir '/home/parallels/Code/.conda/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/home/parallels/Code/.conda/bin'
}
2023-09-26 14:58:32.856 [info] python-3.10.13 | 13.2 MB | ########## | 100% �[A
2023-09-26 14:58:32.865 [info] �[A
�[A�[A
�[A�[A�[A
Preparing transaction: ...working...
2023-09-26 14:58:33.033 [info] done
Verifying transaction: ...working...
2023-09-26 14:58:33.835 [info] done
2023-09-26 14:58:33.836 [info] Executing transaction:
2023-09-26 14:58:33.836 [info] ...working...
2023-09-26 14:58:34.177 [warning] Failed to check if /home/parallels/Code/.conda/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/home/parallels/Code/.conda/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/home/parallels/Code/.conda/bin/python'
}
2023-09-26 14:58:34.178 [warning] Failed to check if /home/parallels/Code/.conda/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/home/parallels/Code/.conda/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/home/parallels/Code/.conda/bin/python'
}
2023-09-26 14:58:34.562 [info] done
2023-09-26 14:58:34.616 [info] #
# To activate this environment, use
#
# $ conda activate /home/parallels/Code/.conda
#
# To deactivate an active environment, use
#
# $ conda deactivate
2023-09-26 14:58:34.931 [info] CREATED_CONDA_ENV:/home/parallels/Code/.conda
2023-09-26 14:58:34.932 [info] Creating: /home/parallels/Code/.conda/.gitignore
2023-09-26 14:58:35.501 [info] > ./.conda/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:58:48.954 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 14:58:48.963 [info] Found: /bin/python3 --> /bin/python3.10
2023-09-26 14:58:48.963 [info] Found: /bin/python3.10 --> /bin/python3.10
2023-09-26 14:58:48.972 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
2023-09-26 14:58:48.972 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
2023-09-26 14:58:49.427 [info] > /bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:58:49.467 [info] > /usr/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 14:59:52.302 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 14:59:52.684 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 14:59:58.219 [info] Selected Python version 3.11 for creating conda environment.
2023-09-26 15:00:11.795 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 15:00:17.347 [info] Selected Python version 3.8 for creating conda environment.
2023-09-26 15:00:27.218 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-09-26 15:00:27.218 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-09-26 15:00:27.218 [info] Experiment 'pythonSurveyNotificationcf' is active
2023-09-26 15:00:27.218 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-09-26 15:00:27.218 [info] Experiment 'pythonTestAdapter' is active
2023-09-26 15:00:27.396 [info] Test server listening.
2023-09-26 15:00:27.396 [info] Python interpreter path: ./.conda/bin/python
2023-09-26 15:00:27.685 [info] > conda info --json
2023-09-26 15:00:27.685 [info] shell: bash
2023-09-26 15:00:27.703 [info] > ~/.conda/bin/conda info --json
2023-09-26 15:00:27.703 [info] shell: bash
2023-09-26 15:00:27.707 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 15:00:27.707 [info] shell: bash
2023-09-26 15:00:28.761 [info] > ~/miniconda3/bin/conda run -p ./.conda --no-capture-output python ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/printEnvVariables.py
2023-09-26 15:00:28.762 [info] shell: bash
2023-09-26 15:00:30.451 [info] > /bin/python3 ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/printEnvVariables.py
2023-09-26 15:00:30.451 [info] shell: bash
2023-09-26 15:00:30.902 [info] Starting Pylance language server.
2023-09-26 15:00:30.929 [info] > conda info --json
2023-09-26 15:00:30.958 [info] > ~/.conda/bin/conda info --json
2023-09-26 15:00:30.974 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 15:00:33.427 [info] Discover tests for workspace name: Code - uri: /home/parallels/Code
2023-09-26 15:00:36.205 [info] Discover tests for workspace name: Code - uri: /home/parallels/Code
2023-09-26 15:01:01.100 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 15:01:01.518 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 15:01:36.388 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 15:01:36.773 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 15:01:40.492 [info] Selected Python version 3.11 for creating conda environment.
2023-09-26 15:01:47.228 [info] Found: /bin/python3 --> /bin/python3.10
2023-09-26 15:01:47.229 [info] Found: /bin/python3.10 --> /bin/python3.10
2023-09-26 15:01:47.240 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
2023-09-26 15:01:47.244 [info] > ./.conda/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 15:01:47.245 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
2023-09-26 15:01:47.272 [info] > ~/miniconda3/bin/python -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 15:01:47.298 [info] > /bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 15:01:47.322 [info] > /usr/bin/python3 -I ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/interpreterInfo.py
2023-09-26 15:01:51.857 [info] > ~/miniconda3/bin/conda run -n base --no-capture-output python ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/get_output_via_markers.py ~/.vscode-insiders/extensions/ms-python.python-2023.17.12691017/pythonFiles/printEnvVariables.py
2023-09-26 15:01:51.857 [info] shell: bash
2023-09-26 15:01:51.874 [info] Discover tests for workspace name: Code - uri: /home/parallels/Code
2023-09-26 15:01:51.880 [info] Python interpreter path: ~/miniconda3/bin/python
2023-09-26 15:01:55.415 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 15:01:59.092 [info] Selected Python version 3.8 for creating conda environment.
2023-09-26 15:01:59.114 [info] Discover tests for workspace name: Code - uri: /home/parallels/Code
2023-09-26 15:01:59.114 [info] Python interpreter path: ./.conda/bin/python
2023-09-26 15:02:08.949 [info] > ~/miniconda3/bin/conda info --json
2023-09-26 15:02:09.352 [info] Selected workspace /home/parallels/Code for creating conda environment.
2023-09-26 15:02:15.131 [error] Python version was not selected for creating conda environment.
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug