You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\Projects\AI\SOM\data\sompy_clustering.py", line 1, in
import sompy
File "C:\Python\lib\site-packages\sompy_init_.py", line 2, in
from sompy import SOM
ImportError: cannot import name 'SOM' from partially initialized module 'sompy' (most likely due to a circular import) (C:\Python\lib\site-packages\sompy_init_.py)
The text was updated successfully, but these errors were encountered:
I had the same problem, in my case by installing using pip install sompy. Then I realized that this package has nothing to do with this repository. To install this one you have the instructions in the readme, I have not seen that it is available via pip.
If you still have problem, try these passages from anaconda cmd (if you use anaconda):
pip uninstall sompy
git clone <code link of this library>
cd_sompy
python setup.py install
Then on your notebook you just have to:
import sompy
Probably you already have a version of sompy that is the one that has recursively problems with python>3.0
Therefore, uninstalling sompy and following the right procedures could help.
Tell me if this is the case! :)
I get
Traceback (most recent call last):
File "D:\Projects\AI\SOM\data\sompy_clustering.py", line 1, in
import sompy
File "C:\Python\lib\site-packages\sompy_init_.py", line 2, in
from sompy import SOM
ImportError: cannot import name 'SOM' from partially initialized module 'sompy' (most likely due to a circular import) (C:\Python\lib\site-packages\sompy_init_.py)
The text was updated successfully, but these errors were encountered: