I have installed the 2 python libraries:
NumPy - 1.10.4
Scipy - 0.17.0
which are required for the successful installation of gensim as stated in: https://radimrehurek.com/gensim/install.html. I have used the wheel file from http://www.lfd.uci.edu/~gohlke/pythonlibs/ for installation on a windows 7 64 bit machine with python 3.4. I am running into certain compatibility issues.
C:\Users\888537>py -m pip install gensim-0.12.4-cp34-none-win_amd64.whl
Processing c:\users\888537\gensim-0.12.4-cp34-none-win_amd64.whl
Collecting numpy>=1.3 (from gensim==0.12.4)
Using cached numpy-1.11.0-cp34-none-win_amd64.whl
Collecting smart-open>=1.2.1 (from gensim==0.12.4)
Using cached smart_open-1.3.2.tar.gz
Complete output from command python setup.py egg_info:
D:\Program Files\Python\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg)
D:\Program Files\Python\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info' ----------------------------------------
Error:Command "python setup.py egg_info" failed with error code 1 in C:\Users\888537\AppData\Local\Temp\pip-build-7zxq63k_\smart-open\
The same occurs during a pip installation:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\888537\A
ppData\Local\Temp\pip-build-4o3kecba\gensim\
Is there a way out of this other than installation from the git repo? I was unsuccessful trying to import from the git repo too. :P
C:\Users\888537>py -m pip install -e git+ssh://git@github.com/piskvorky/gensim.g
it
--editable=git+ssh://git@github.com/piskvorky/gensim.git is not the right format
; it must have #egg=Package