我已經(jīng)安裝了兩個(gè)軟件包,例如mgwr和libpysal。我可以使用普通的 python 腳本導(dǎo)入它們,但是當(dāng)我嘗試在我的 jupyter 筆記本中導(dǎo)入時(shí),我收到模塊不存在的錯(cuò)誤import libpysal as psImportError: No module named libpysalfrom mgwr.gwr import GWR, MGWRImportError: No module named mgwr如果我從終端做! which python /usr/local/opt/python/libexec/bin/python從筆記本! which python/Users/myName/anaconda2/bin/python
Python:我可以在 python 中導(dǎo)入包,但不能在 notebook 中導(dǎo)入
翻翻過去那場(chǎng)雪
2021-11-16 16:18:47