-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not import SOM #61
Comments
I have exactly the same issue |
Me too |
Sorry, not tested with Py3. with Py2.7 it should work. |
Is there any solution for this issue right now? |
@compmonks did you have a solution for this? If I remember correctly you used it in py3? |
I had the same problem and the SOMPY version forked by @compmonks worked for me:
I only had to remove ipdb import from sompy.py and mapview.py because due to other dependencies I had installed the ipdb import was opening a prompt in my setup. |
Have the same issue, but problem appers in my case also in python 2.7. Is there already a solution? |
I have exactly the same issue |
Same issue. It’s because of ipdb module.Afrer I commented them out in sompy.py and mapview.py, it worked. It’s just debugger |
Hi, I have the same issue. @Nomad-Jin What exactly did you comment out? what is 'ipdb'? |
@pricklpitty - ipdb is a module which gives access the IPython debugger (https://pypi.python.org/pypi/ipdb). |
how could i save the model , and predict the cluster of new data , like kmeans in sklearn "model.predict(new_data)"????????? |
Did anyone found the solution for this open issue? |
for me I installed SOMPY using the setup source, this fixed my bug last year. That longtime I've used it. |
git clone https://github.com/sevamoo/SOMPY.git This fixed my issue |
I get Traceback (most recent call last): Getting the package from GIT does NOT fix the issue. I have Python 3.10.5 |
I get Traceback (most recent call last): |
I am using Python 3.5.1 with PyCharm IDE on Windows. I am getting below error:
can you please help me?
C:\Python35\python.exe C:/Users/azzet/PycharmProjects/PythonSom.py
Traceback (most recent call last):
File "C:/Users/azzet/PycharmProjects/PythonSom.py", line 4, in
import sompy
File "C:\Python35\lib\site-packages\sompy_init_.py", line 2, in
from sompy import SOM
ImportError: cannot import name 'SOM'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: