我已经安装了库sompy,但在导入它时,出现了下一个错误:
import sompy
ImportErrorTraceback (most recent call last)
<ipython-input-86-97d518356b3c> in <module>
----> 1 import sompy
/opt/conda/lib/python3.8/site-packages/sompy/__init__.py in <module>
1
----> 2 from sompy import SOM
ImportError: cannot import name 'SOM' from partially initialized module 'sompy' (most likely due to a circular import) (/opt/conda/lib/python3.8/site-packages/sompy/__init__.py)
这个问题已经解释清楚了。解决方案是安装更新版本的sompy:
还有其他更为最新的SOM软件包,例如minisom和susi
相关问题 更多 >
编程相关推荐