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
ImportError: cannot import name 'SOMFactory' #36
Comments
Hi |
Python 3 isnt the issue here (atleast for this error). He most probably used pip install sompy directly. The direct pip install is not updated and doesnt include SOMFactory and many other modules (atleast for me). I had to download the setup and used the suggested method of installation. python setup.py install But, (again for me only) instead of installing it, it created a .egg file in my site-packages folder. So I had to use pip on the local zip folder containing the setup to directly install it. I also ran into the ipdb conflict after that but it was already resolved by Sevamoo in another thread I think (downgrading it to 0.8.1) Works like a charm now, on python 2.7 virtualenv |
Hello all! could you clarify what did you do exactly when you say: " I had to use pip on the local zip folder containing the setup to directly install it."? I would very much appreciate it. thanks! can't wait to use this tool. I used to use the library in matlab in my phd but now I would like to move to python. thanks!! |
I solved it. These were my steps if anyone has the same problem.
And now it works!! |
install V1.0.0 via : pip3 install git+https://github.com/compmonks/SOMPY.git |
Hello, I'd followed your instruction but still get error. Using python 3.79 now. Have I to downgrade to 3.5 ? Then But still "AttributeError: module 'sompy' has no attribute 'SOMFactory'". Please help |
Hello,
I have installed sompy without any errors (https://github.com/sevamoo/SOMPY).
However when i try:
import sompy
I receive an error code:
File "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy__init__.py", line 30, in
from sompy import SOMFactory
ImportError: cannot import name 'SOMFactory'
I am using Python 3.5.1 (Anaconda 4.1.1 for Windows)
Any help or suggestions would be greatly appreciated.
Stefan
The text was updated successfully, but these errors were encountered: