Skip to content

Python environments failing to be found #18478

Closed
@inobrevi

Description

@inobrevi

Environment data

  • VS Code version: Version: 1.64.0 (system setup)
  • Jupyter Extension version (available under the Extensions sidebar): v2022.1.1001775990
  • Python Extension version (available under the Extensions sidebar): v2022.0.1786462952
  • OS (Windows | Mac | Linux distro) and version: Windows_NT x64 10.0.19042
  • Python and/or Anaconda version: 3.9 and 3.10
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): ALL
  • Jupyter server running: Local

Expected behaviour

Jupyter should find at least one environment and everything was working fine until it didn't.

Actual behaviour

No environment/kernels available/detected.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

UNKNOWN, just started to not work. I reinstalled and restarted almost everything, only didn't reinstall the whole system.
Started with numpy not having some libraries (with no changes to anything), I reinstalled Anaconda, restarted everything. Anaconda works in Poweshell and loads correctly. I tried every trick to reset and do it right. Nothing worked.

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

Visual Studio Code (1.64.0, undefined, desktop)
Jupyter Extension Version: 2022.1.1001775990.
Python Extension Version: 2022.0.1786462952.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 11:42:22: ZMQ install verified.
Info 11:42:23: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Warn 11:42:26: Unable to create a controller for jupyter-notebook without an active interpreter.
Info 11:42:26: Find preferred kernel for c:\Users\[notebook_path].ipynb with metadata {"interpreter":{"hash":"f0eb7952fea26dd991a448ee1aa1847a5c0ca351d8848665d51ebfd4896d4292"},"kernelspec":{"display_name":"Python 3.9.7 ('base')","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.9.7"},"orig_nbformat":4} & preferred interpreter 
Info 11:56:48: Loading webview. View is notset
Info 11:56:48: Loading web view...
Info 11:56:48: Webview panel created.
Info 11:56:49: Web view react rendered
Info 11:56:50: Searching for token colors ...
Info 11:56:50: Attempting search for colors ...
Info 11:56:50: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 11:56:50: Attempting search for colors ...
Info 11:56:50: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 11:56:51: Using colors to generate CSS ...
Info 11:57:17: Searching for token colors ...
Info 11:57:17: Attempting search for colors ...
Info 11:57:17: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 11:57:17: Attempting search for colors ...
Info 11:57:17: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 11:57:17: Using colors to generate CSS ...
Info 19:28:21: Searching for token colors ...
Info 19:28:21: Attempting search for colors ...
Info 19:28:21: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:28:21: Attempting search for colors ...
Info 19:28:21: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:28:21: Using colors to generate CSS ...
Info 19:28:32: Searching for token colors ...
Info 19:28:32: Attempting search for colors ...
Info 19:28:32: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:28:32: Attempting search for colors ...
Info 19:28:32: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:28:32: Using colors to generate CSS ...
Info 19:29:00: Searching for token colors ...
Info 19:29:00: Attempting search for colors ...
Info 19:29:00: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:29:00: Attempting search for colors ...
Info 19:29:00: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:29:00: Using colors to generate CSS ...
Info 19:29:41: Searching for token colors ...
Info 19:29:41: Attempting search for colors ...
Info 19:29:41: Loading colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:29:41: Attempting search for colors ...
Info 19:29:41: Loading base colors from c:\Program Files\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 19:29:41: Using colors to generate CSS ...

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from posterinvestigatingWe are looking into the cause of the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions