piskvorky/gensim — Issue #55: gensim 0.8.1: sqlitedict as dependency
Author: heuer
Created: 2011-10-10 08:21:24+00:00
State: open

sqlitedict seems to be no optional dependency::

>>> from gensim.matutils import MMWriter

Traceback (most recent call last):
File "", line 1, in
from gensim.matutils import MMWriter
[...]
from sqlitedict import SqliteDict # needs sqlitedict: run "sudo easy_install sqlitedict"
ImportError: No module named sqlitedict

Possible solutions:

* Move sqlitedict from "extra dependencies" to the core dependencies
* Change ``gensim.__init__`` and avoid the import of similarities (but this wouldn't help since gensim.similarities imports the SimServer/SessionServer)
* Avoid the default import of SimServer/SessionServer in gensim.similarities