Description
Type: Bug
Behaviour
When I load a Python project in vscode, I would see a "Discovering Python Interpreters" spin wheel on the bottom left corner of the window indefinitely, and I cannot use any intellisense features on the python file, including finding references & function definitions. I saw a bunch of errors in the Python extension output log about not being able to find miniconda3 path (I do not have miniconda installed on the machine anymore) but not sure if those are red herrings.
I have tried the suggestions in #23956 to change "Python Locator" from "native" to "js" but that didn't work, so reaching out for help. Thank you!
Diagnostic data
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
2024-10-20 10:13:32.384 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-10-20 10:13:32.384 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-10-20 10:13:32.384 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-10-20 10:13:32.384 [info] Experiment 'pythonTestAdapter' is active
2024-10-20 10:13:32.384 [warning] Dir "/Users/ray/xxx/.pixi/envs" is not watchable (directory does not exist)
2024-10-20 10:13:32.384 [info] Default formatter is set to null for workspace /Users/ray/xxx
2024-10-20 10:13:32.384 [info] Starting Environment refresh
2024-10-20 10:13:32.384 [info] Searching for interpreters in posix paths locator
2024-10-20 10:13:32.384 [info] Searching for pyenv environments
2024-10-20 10:13:32.384 [info] Searching for conda environments
2024-10-20 10:13:32.384 [info] Searching for global virtual environments
2024-10-20 10:13:32.384 [info] Searching for custom virtual environments
2024-10-20 10:13:32.384 [info] pyenv is not installed
2024-10-20 10:13:32.384 [info] Finished searching for pyenv environments: 5 milliseconds
2024-10-20 10:13:32.384 [info] Finished searching for custom virtual envs: 6 milliseconds
2024-10-20 10:13:32.384 [info] > conda info --json
2024-10-20 10:13:32.384 [info] > pixi --version
2024-10-20 10:13:32.384 [info] > hatch env show --json
2024-10-20 10:13:32.384 [info] cwd: .
2024-10-20 10:13:32.384 [info] > pyenv which python
2024-10-20 10:13:32.384 [info] cwd: .
2024-10-20 10:13:32.386 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-10-20 10:13:32.387 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 10:13:32.390 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:32.391 [info] > /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:32.392 [info] Finished searching for global virtual envs: 26 milliseconds
2024-10-20 10:13:32.393 [info] Found: /usr/local/bin/python3 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:32.393 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 10:13:32.395 [info] Found: /usr/local/bin/python3.10 --> /usr/local/Cellar/[email protected]/3.10.15/Frameworks/Python.framework/Versions/3.10/bin/python3.10
2024-10-20 10:13:32.395 [info] > ~/.local/share/virtualenvs/NovaHackers-VHEqYW1v/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:32.396 [info] Found: /usr/local/bin/python3.11 --> /usr/local/Cellar/[email protected]/3.11.10/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-10-20 10:13:32.396 [info] Found: /usr/local/bin/python3.12 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:32.397 [info] Found: /usr/local/bin/python3.9 --> /usr/local/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/bin/python3.9
2024-10-20 10:13:33.038 [info] > ./venv/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:33.039 [info] Python interpreter path: /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:33.176 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:33.224 [info] Finished searching for interpreters in posix paths locator: 858 milliseconds
2024-10-20 10:13:33.228 [info] Environments refresh paths discovered (event): 863 milliseconds
2024-10-20 10:13:33.228 [info] Environments refresh paths discovered: 863 milliseconds
2024-10-20 10:13:33.493 [info] > /usr/local/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:33.546 [info] > /usr/local/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:34.653 [info] > /usr/local/bin/python3.11 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:35.814 [info] > /usr/local/bin/python3.9 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:37.024 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:37.026 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 10:13:41.919 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-10-20 10:13:41.919 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-10-20 10:13:41.919 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-10-20 10:13:41.919 [info] Experiment 'pythonTestAdapter' is active
2024-10-20 10:13:41.919 [warning] Dir "/Users/ray/xxx/.pixi/envs" is not watchable (directory does not exist)
2024-10-20 10:13:41.919 [info] Default formatter is set to null for workspace /Users/ray/xxx
2024-10-20 10:13:41.919 [info] Starting Environment refresh
2024-10-20 10:13:41.919 [info] Searching for interpreters in posix paths locator
2024-10-20 10:13:41.919 [info] Searching for pyenv environments
2024-10-20 10:13:41.919 [info] Searching for conda environments
2024-10-20 10:13:41.919 [info] Searching for global virtual environments
2024-10-20 10:13:41.919 [info] Searching for custom virtual environments
2024-10-20 10:13:41.919 [info] pyenv is not installed
2024-10-20 10:13:41.919 [info] Finished searching for pyenv environments: 62 milliseconds
2024-10-20 10:13:41.919 [info] Finished searching for custom virtual envs: 62 milliseconds
2024-10-20 10:13:41.919 [info] > conda info --json
2024-10-20 10:13:41.919 [info] > pixi --version
2024-10-20 10:13:41.919 [info] > hatch env show --json
2024-10-20 10:13:41.919 [info] cwd: .
2024-10-20 10:13:41.919 [info] > pyenv which python
2024-10-20 10:13:41.919 [info] cwd: .
2024-10-20 10:13:42.012 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-10-20 10:13:42.042 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 10:13:42.064 [info] Found: /usr/local/bin/python3 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:42.070 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.073 [info] > /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.157 [info] Python interpreter path: /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:42.159 [info] Found: /usr/local/bin/python3.10 --> /usr/local/Cellar/[email protected]/3.10.15/Frameworks/Python.framework/Versions/3.10/bin/python3.10
2024-10-20 10:13:42.179 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 10:13:42.191 [info] Found: /usr/local/bin/python3.11 --> /usr/local/Cellar/[email protected]/3.11.10/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-10-20 10:13:42.201 [info] Found: /usr/local/bin/python3.12 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 10:13:42.204 [info] Found: /usr/local/bin/python3.9 --> /usr/local/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/bin/python3.9
2024-10-20 10:13:42.205 [info] > ./venv/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.205 [info] Finished searching for global virtual envs: 639 milliseconds
2024-10-20 10:13:42.222 [info] > ~/.local/share/virtualenvs/NovaHackers-VHEqYW1v/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.275 [info] Finished searching for interpreters in posix paths locator: 710 milliseconds
2024-10-20 10:13:42.281 [info] Environments refresh paths discovered (event): 716 milliseconds
2024-10-20 10:13:42.281 [info] Environments refresh paths discovered: 716 milliseconds
2024-10-20 10:13:42.302 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.534 [info] > /usr/local/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.613 [info] > /usr/local/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.667 [info] > /usr/local/bin/python3.11 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:42.734 [info] > /usr/local/bin/python3.9 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:44.185 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 10:13:44.187 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 20:51:11.503 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-10-20 20:51:11.503 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-10-20 20:51:11.503 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-10-20 20:51:11.503 [info] Experiment 'pythonTestAdapter' is active
2024-10-20 20:51:11.503 [warning] Dir "/Users/ray/Development/active_workspace/python_example/.pixi/envs" is not watchable (directory does not exist)
2024-10-20 20:51:11.503 [info] Default formatter is set to null for workspace /Users/ray/Development/active_workspace/python_example
2024-10-20 20:51:11.503 [info] Starting Environment refresh
2024-10-20 20:51:11.503 [info] Searching for interpreters in posix paths locator
2024-10-20 20:51:11.503 [info] Searching for pyenv environments
2024-10-20 20:51:11.503 [info] Searching for conda environments
2024-10-20 20:51:11.503 [info] Searching for global virtual environments
2024-10-20 20:51:11.503 [info] Searching for custom virtual environments
2024-10-20 20:51:11.503 [info] pyenv is not installed
2024-10-20 20:51:11.503 [info] Finished searching for pyenv environments: 21 milliseconds
2024-10-20 20:51:11.503 [info] Finished searching for custom virtual envs: 22 milliseconds
2024-10-20 20:51:11.503 [info] > conda info --json
2024-10-20 20:51:11.503 [info] > pixi --version
2024-10-20 20:51:11.503 [info] > hatch env show --json
2024-10-20 20:51:11.503 [info] cwd: .
2024-10-20 20:51:11.503 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:11.507 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:11.510 [info] > pyenv which python
2024-10-20 20:51:11.510 [info] cwd: .
2024-10-20 20:51:11.513 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2024-10-20 20:51:11.540 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:11.541 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:11.542 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:11.543 [info] Found: /usr/local/bin/python3 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 20:51:11.545 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:11.547 [info] Found: /usr/local/bin/python3.10 --> /usr/local/Cellar/[email protected]/3.10.15/Frameworks/Python.framework/Versions/3.10/bin/python3.10
2024-10-20 20:51:11.547 [info] Finished searching for global virtual envs: 339 milliseconds
2024-10-20 20:51:11.547 [info] Found: /usr/local/bin/python3.11 --> /usr/local/Cellar/[email protected]/3.11.10/Frameworks/Python.framework/Versions/3.11/bin/python3.11
2024-10-20 20:51:11.547 [info] Found: /usr/local/bin/python3.12 --> /usr/local/Cellar/[email protected]/3.12.7/Frameworks/Python.framework/Versions/3.12/bin/python3.12
2024-10-20 20:51:11.548 [info] Found: /usr/local/bin/python3.9 --> /usr/local/Cellar/[email protected]/3.9.20/Frameworks/Python.framework/Versions/3.9/bin/python3.9
2024-10-20 20:51:11.550 [info] > ~/.local/share/virtualenvs/NovaHackers-VHEqYW1v/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:11.559 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 20:51:11.567 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:11.599 [info] Finished searching for interpreters in posix paths locator: 392 milliseconds
2024-10-20 20:51:11.605 [info] Environments refresh paths discovered (event): 397 milliseconds
2024-10-20 20:51:11.605 [info] Environments refresh paths discovered: 398 milliseconds
2024-10-20 20:51:11.869 [info] > /usr/local/bin/python3 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:13.341 [info] > /usr/local/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:14.340 [info] > /usr/local/bin/python3.11 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:15.559 [info] > /usr/local/bin/python3.9 -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:16.723 [info] > ~/miniconda3/bin/python -I ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
2024-10-20 20:51:16.725 [error] [Error: Command failed: /Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py
/bin/sh: /Users/ray/miniconda3/bin/python: No such file or directory
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:423:12)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:339:12)] {
code: 127,
killed: false,
signal: null,
cmd: '/Users/ray/miniconda3/bin/python -I /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/get_output_via_markers.py /Users/ray/.vscode/extensions/ms-python.python-2024.16.1-darwin-arm64/python_files/interpreterInfo.py'
}
2024-10-20 20:51:16.728 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:16.728 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:16.728 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:16.728 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:28.457 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:28.457 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:51:28.458 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:51:28.459 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:52:24.764 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:52:24.764 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:52:35.225 [info] Python interpreter path: /usr/local/bin/python3
2024-10-20 20:53:28.870 [info] Discover tests for workspace name: python_example - uri: /Users/ray/Development/active_workspace/python_example/example.py
2024-10-20 20:54:16.996 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:54:16.996 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:54:16.996 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:54:16.997 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:54:16.997 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:54:16.997 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
2024-10-20 20:54:21.837 [warning] Failed to check if /Users/ray/miniconda3/bin/python is an executable [Error: ENOENT: no such file or directory, lstat '/Users/ray/miniconda3/bin/python'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/Users/ray/miniconda3/bin/python'
}
2024-10-20 20:54:21.837 [warning] Identifier for virt-virtualenv failed to identify /Users/ray/miniconda3/bin/python [Error: ENOENT: no such file or directory, scandir '/Users/ray/miniconda3/bin'] {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/ray/miniconda3/bin'
}
Extension version: 2024.16.1
VS Code version: Code 1.94.2 (Universal) (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Darwin arm64 22.6.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.12.7
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
- Value of the
python.languageServer
setting: Pylance
User Settings
languageServer: "Pylance"
Installed Extensions
Extension Name | Extension Id | Version |
---|---|---|
autopep8 | ms-python.autopep8 | 2024.0.0 |
Bookmarks | alefragnani.Bookmarks | 13.5.0 |
C/C++ | ms-vscode.cpptools | 1.22.9 |
Cline (prev. Claude Dev) | saoudrizwan.claude-dev | 2.0.15 |
Continue - Codestral, Claude, and more | Continue.continue | 0.8.54 |
Create Files & Folders : On The Go | ritwickdey.create-file-folder | 0.0.5 |
Docker | ms-azuretools.vscode-docker | 1.29.3 |
Go | golang.go | 0.42.1 |
JavaScript Debugger | ms-vscode.js-debug | 1.94.0 |
JavaScript Debugger Companion Extension | ms-vscode.js-debug-companion | 1.1.3 |
Jupyter | ms-toolsai.jupyter | 2024.9.1 |
Jupyter Cell Tags | ms-toolsai.vscode-jupyter-cell-tags | 0.1.9 |
Jupyter Keymap | ms-toolsai.jupyter-keymap | 1.1.2 |
Jupyter Notebook Renderers | ms-toolsai.jupyter-renderers | 1.0.19 |
Jupyter Slide Show | ms-toolsai.vscode-jupyter-slideshow | 0.1.6 |
Live Share | ms-vsliveshare.vsliveshare | 1.0.5941 |
Markdown Preview Enhanced | shd101wyy.markdown-preview-enhanced | 0.8.14 |
Pylance | ms-python.vscode-pylance | 2024.10.1 |
Python | ms-python.python | 2024.16.1 |
Python Debugger | ms-python.debugpy | 2024.12.0 |
Table Visualizer for JavaScript Profiles | ms-vscode.vscode-js-profile-table | 1.0.10 |
Vim | vscodevim.vim | 1.28.1 |
System Info
Item | Value |
---|---|
CPUs | Apple M2 (8 x 2400) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on 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 video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | 6, 5, 5 |
Memory (System) | 24.00GB (0.12GB free) |
Process Argv | --crash-reporter-id 5e80e263-c5cd-4946-9f22-ec09cf61380e |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca1:31156133
notype1:31157159
5fd0e150:31155592
dwcopilot:31162478
iconenabled:31158251