[melbourne-pug] How to install gensim

Deb Midya debmidya at yahoo.com
Wed Mar 16 09:49:55 CET 2011


Richard,
 
Thank you very much. It works well.
 
Regards,
 
Deb

--- On Tue, 15/3/11, Richard Jones <r1chardj0n3s at gmail.com> wrote:


From: Richard Jones <r1chardj0n3s at gmail.com>
Subject: Re: [melbourne-pug] How to install gensim
To: "Deb Midya" <debmidya at yahoo.com>
Cc: melbourne-pug at python.org
Received: Tuesday, 15 March, 2011, 11:20 AM


On Tue, Mar 15, 2011 at 11:09 AM, Deb Midya <debmidya at yahoo.com> wrote:
>
> Richard,
>
> Thanks for your response.
>
> I have done the steps you have advised. I have checked the setuptools is in python\Lib\site-packages. I have also checked the path variable and it is: G:\Python26.
> But I receive the following error:
>
> >>>easy_install --upgrade gensim
>     SyntaxError: invalid syntax
> >>>
>
> I have kept the internet on before issuing the above command,
>
> I have also tried:
>
> >>>easy_install gensim
>     SyntaxError: invalid syntax
> >>>

easy_install is a command-line program should be invoked outside of
Python - ie. at the DOS prompt. On your system it will be installed in
G:\Python26\Scripts so you'll either need to include that directory in
your PATH or invoke it directly as G:\Python26\Scripts\easy_install

There's some notes about this at:

   http://packages.python.org/distribute/easy_install.html#windows-notes

Yes, this could be easier :-(

http://blog.sadphaeton.com/2009/01/20/python-development-windows-part-2-installing-easyinstallcould-be-easier.html


     Richard



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/melbourne-pug/attachments/20110316/470615a5/attachment.html>


More information about the melbourne-pug mailing list