c:\python35\lib\site-packages\gensim\utils.py in unpickle(fname)
910 with smart_open(fname) as f:
911 # Because of loading from S3 load can't be used (missing readline in smart_open)
--> 912 return _pickle.loads(f.read())
913
914
ImportError: No module named 'UserList'
Any help would be appreciated.
Regards,
Keshav
--
You received this message because you are subscribed to a topic in the Google Groups "gensim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gensim/wA2l4EjlqtA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gensim+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
But it is too late to fix Python 3.4, it can get only security fixes. You have Celery specific workaround. More general workaround is to update _compact_pickle.IMPORT_MAPPING, e.g.:
import _compact_pickle
_compact_pickle.IMPORT_MAPPING.update({
'UserDict': 'collections',
'UserList': 'collections',
'UserString': 'collections',
'whichdb': 'dbm',
'StringIO': 'io',
'cStringIO': 'io',
})
```-- As lembranças não são só do passado. Podem ser de agora e até de amanhã. — Serial Experiments Lain
To unsubscribe from this group and all its topics, send an email to gensim+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "gensim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gensim/wA2l4EjlqtA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gensim+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.