lotus
(zhang wei)
June 2, 2024, 2:01am
1
Dear expert, I tried to run a script in JupyterNotebook to execute slicer’s registration function, but error messages appeared during the installation process, what should I do with these error messages, thank you
Python 3.9.10 (main, Apr 5 2024, 01:02:26) [MSC v.1938 64 bit (AMD64)] on win32
JupyterConnectionFile:[C:\Users\Lotus\AppData\Roaming\jupyter\runtime\kernel-7d3729d1-7d62-46df-b068-1f5b98165e19.json]
Traceback (most recent call last):
File “”, line 1, in
RuntimeError: std::runtime_error: ModuleNotFoundError: No module named ‘IPython’
At:
D:\ProgramData\slicerorg\Slicer\slicer.org\Extensions-32448\SlicerJupyter\Lib\site-packages\xeus_python_shell\shell.py(10):
(228): _call_with_frames_removed
(850): exec_module
(695): _load_unlocked
(986): _find_and_load_unlocked
(1007): _find_and_load
(1):
lotus
(zhang wei)
June 2, 2024, 2:15am
2
lotus:
IPython
I checked the environment, Requirement already satisfied.
(base) PS C:\WINDOWS\system32> pip install IPython
Requirement already satisfied: IPython in d:\users\lotus\anaconda3\lib\site-packages (8.10.0)
Requirement already satisfied: pygments>=2.4.0 in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (2.11.2)
Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.30 in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (3.0.36)
Requirement already satisfied: decorator in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (5.1.1)
Requirement already satisfied: colorama in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.4.6)
Requirement already satisfied: pickleshare in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.7.5)
Requirement already satisfied: stack-data in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.2.0)
Requirement already satisfied: traitlets>=5 in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (5.7.1)
Requirement already satisfied: jedi>=0.16 in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.18.1)
Requirement already satisfied: backcall in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.2.0)
Requirement already satisfied: matplotlib-inline in d:\users\lotus\anaconda3\lib\site-packages (from IPython) (0.1.6)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in d:\users\lotus\anaconda3\lib\site-packages (from jedi>=0.16->IPython) (0.8.3)
Requirement already satisfied: wcwidth in d:\users\lotus\anaconda3\lib\site-packages (from prompt-toolkit<3.1.0,>=3.0.30->IPython) (0.2.5)
Requirement already satisfied: asttokens in d:\users\lotus\anaconda3\lib\site-packages (from stack-data->IPython) (2.0.5)
Requirement already satisfied: pure-eval in d:\users\lotus\anaconda3\lib\site-packages (from stack-data->IPython) (0.2.2)
Requirement already satisfied: executing in d:\users\lotus\anaconda3\lib\site-packages (from stack-data->IPython) (0.8.3)
Requirement already satisfied: six in d:\users\lotus\anaconda3\lib\site-packages (from asttokens->stack-data->IPython) (1.16.0)