我是dicom
图片的新手。我通过pydicom
安装了anaconda
。
1.2.2
但是,如果我打开jupyter
笔记本并导入pydicom
,则会出现错误。我尝试同时导入pydicom
或dicom
时遇到相同的错误:
'ModuleNotFoundError: No module named 'pydicom' '
是什么原因导致此问题?
谢谢。
通过终端通过python:
python
Python 3.6.7 | packaged by conda-forge | (default, Feb 28 2019, 09:07:38)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydicom
>>>
通过jupyter笔记本
import pydicom
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-714fe37a307d> in <module>()
----> 1 import pydicom
ModuleNotFoundError: No module named 'pydicom'
OR
import dicom
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-c932402ee9d2> in <module>()
----> 1 import dicom
ModuleNotFoundError: No module named 'dicom'