On 30/08/16 10:25, fa306...@skynet.be wrote:
Hello,
I use python 3.5.1 and try to import sompy and get the following error:

File "C:\Anaconda3\lib\site-packages\sompy-1.0-py3.5.egg\sompy\__init__.py",
line 30, in <module>     from sompy import SOMFactory

ImportError: cannot import name 'SOMFactory'

What could cause such an error? Thanks in advance for any suggestions.

The most likely cause is that the module sompy does not contain the name SOMFactory (check the spelling...). Try

>>> import sompy
>>> dir(sompy)

To check the available names

Alan G

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to