The conda virtual environment kernel that vscode remotely connects to the server cannot run. The cell prompts that ipykernel is needed #15718
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-kernel
Kernels issues (start/restart/switch, install ipykernel)
user-setup
Issues caused by incorrectly configured python environments, packages, or the like
<! -- Please search existing issues to avoid creating duplicates. -->
Environment data
Expected behaviour
The.ipynb file is ready to run
Actual behaviour
The.ipynb file cannot be run
Tip: Running a cell with "XXX (Python 3.7.12)" requires the ipykernel package.
Install "ipykernel" into your Python environment by running the following command.
Run the conda install -n selfocc ipykernel --update-deps --force-reinstall command.
However, I have an ipykernel package in envs
pip install -U ipykernel -i https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Requirement already satisfied: ipykernel in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (6.16.2)
Requirement already satisfied: debugpy>=1.0 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (1.6.3)
Requirement already satisfied: ipython>=7.23.1 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (7.33.0)
Requirement already satisfied: jupyter-client>=6.1.12 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (7.4.9)
Requirement already satisfied: matplotlib-inline>=0.1 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (0.1.7)
Requirement already satisfied: nest-asyncio in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (1.6.0)
Requirement already satisfied: packaging in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (23.2)
Requirement already satisfied: psutil in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (5.9.3)
Requirement already satisfied: pyzmq>=17 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (24.0.1)
Requirement already satisfied: tornado>=6.1 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (6.2)
Requirement already satisfied: traitlets>=5.1.0 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipykernel) (5.9.0)
Requirement already satisfied: setuptools>=18.5 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (59.5.0)
Requirement already satisfied: jedi>=0.16 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (0.19.1)
Requirement already satisfied: decorator in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (5.1.1)
Requirement already satisfied: pickleshare in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (3.0.42)
Requirement already satisfied: pygments in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (2.17.2)
Requirement already satisfied: backcall in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (0.2.0)
Requirement already satisfied: pexpect>4.3 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from ipython>=7.23.1->ipykernel) (4.9.0)
Requirement already satisfied: entrypoints in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from jupyter-client>=6.1.12->ipykernel) (0.4)
Requirement already satisfied: jupyter-core>=4.9.2 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from jupyter-client>=6.1.12->ipykernel) (4.12.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from jupyter-client>=6.1.12->ipykernel) (2.9.0)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel) (0.8.4)
Requirement already satisfied: ptyprocess>=0.5 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from pexpect>4.3->ipython>=7.23.1->ipykernel) (0.7.0)
Requirement already satisfied: wcwidth in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=7.23.1->ipykernel) (0.2.10)
Requirement already satisfied: six>=1.5 in /home/a/anaconda3/envs/selfocc/lib/python3.7/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel) (1.16.0)
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
<! --
Note: If you think a GIF of what is happening would be helpful, consider tools like ht
The text was updated successfully, but these errors were encountered: