Forums

Install gensim

I tried to install Gensim for testing. Gensim has SciPy and NumPy as dependencies, but when I start the Gensim install it automatically starts installing Scipy... wich is included in the Battery as you call it...

Is there a way to do an installation and skip the dependencies.

pip install --user gensim

only installs gensim, when I try it... Are you using a virtualenv or something?

If you are, the argument --system-site-packages gives your virtualenv access to the packages from the base system (and then you can install your own extra/upgraded ones into the venv). You'd need to delete and recreate it to use it tho.

Ok, i'll try that... the gensim site says you have to use pip install --update to install, maybe it is the update bit that triggers the dependencies to install...

Ok I tried, now I get

Requirement already satisfied (use --upgrade to upgrade): gensim in /home/capsence/.local/lib/python2.7/site-packages Cleaning up...

So it seems to be installed already

That sounds like it must have installed it the first time around. Is it all working OK?

Well that maybe possible... Yes it is working fine, I've tested a couple of the scripts in documentation and it gives the documented result.

Thanks.

OK, thanks for letting us know.