1
私はこのコードを持っている:PyCharm ModuleNotFoundError
import CairoSVG
を私はこれを取得:
"C:\Program Files\Python36\python.exe" D:/PyCharmProjects/Exyz/Bla.py
Traceback (most recent call last):
File "D:/PyCharmProjects/xyz/Bla.py", line 1, in <module>
import CairoSVG
ModuleNotFoundError: No module named 'CairoSVG'
Process finished with exit code 1
を私はthisとCairoSVGは間違いなくインストールされたパッケージを追いました。私もやった:
Go to File > Invalidate caches/restart and click Invalidate and Restart to apply changes and restart PyCharm.
ほかに何が間違っている可能性がありますか?代わりにimport CairoSVG
の
Pythonはモジュールケースについては本当にうるさいです –