jacksonllee / pycantonese

Cantonese Linguistics and NLP
https://pycantonese.org
MIT License
354 stars 38 forks source link

Windows Installer for 2.0 #13

Closed Sc07713 closed 8 years ago

Sc07713 commented 8 years ago

Hi there,

Any chance for a windows installer?

jacksonllee commented 8 years ago

Hi Scottie,

Installing PyCantonese on Windows is straightforward with pip, as long as you have Python (v3.4 or above) ready. (I'm trying to avoid maintaining multiple distributions/installations, so no standalone Windows installer at this point...)

On the command line (the Start menu --> "Run..." --> type "cmd" and enter), run this:

$ python -m pip install pycantonese

The command python points to the python.exe on your system. If python isn't readily recognized as a command, then replace it with something like C:\Python34\python (the path for your python.exe).

If for whatever reason the command line approach doesn't work, fire up the Python interpreter:

>>> import pip
>>> pip.main(['install', 'pycantonese'])
Sc07713 commented 8 years ago

thanks so much for that, finally got it working. :)

Kind Regards

Scott Mckennie

On Thu, Jul 28, 2016 at 3:39 AM, Jackson L. Lee notifications@github.com wrote:

Hi Scottie,

Installing PyCantonese on Windows is straightforward with pip, as long as you have Python (v3.4 or above) ready. (I'm trying to avoid maintaining multiple distributions/installations, so no standalone Windows installer at this point...)

On the command line (the Start menu --> "Run..." --> type "cmd" and enter), run this:

$ python -m pip install pycantonese

The command python points to the python.exe on your system. If python isn't readily recognized as a command, then replace it with something like C:\Python34\python (the path for your python.exe).

If for whatever reason the command line approach doesn't work, fire up the Python interpreter:

import pip>>> pip.main(['install', 'pycantonese'])

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pycantonese/pycantonese/issues/13#issuecomment-235661896, or mute the thread https://github.com/notifications/unsubscribe-auth/AQhz77cEKnP1L6LNmUK6Q-uXpQa3N5_dks5qZ5e1gaJpZM4JVySr .