Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 macos 上的包 'pydicom' 有疑问。在 pycharm 中出现错误ImportError: No module named dicom.
我的代码从终端运行没有任何问题(>> python abc.py 或 >> python2.7 abc.py)。我检查了项目解释器,你可以在这里看到。
此处描述的解决方案没有帮助。
编辑 我用相同的代码创建了一个新项目,现在一切正常。我相信我在旧项目中唯一改变的是“项目解释器”。有趣的。