0

Please bear with me the total novice of Python 3 and non native English speaker.

I'm using windows 8 in iPython notebook environment, and I have problem installing modules such as Jieba. If you go to its homepage, the English version is in the bottom (however, not as updated as the Chinese version). It says it supports Python 3 as well, so I tried using git as it suggested, but it gave me this (I successfully cloned it before).

Some other things I tried as well

  • Using cmd to run setup.py
  • Using pip3 (it's another module I failed to install)
  • Installing easy_install (same, couldn't install it)

Do I have to use other approaches to install modules cause I'm using iPython notebook? I'm so frustrated. I'm trying to do text mining on some Chinese texts but I struggle so much with this hurdle already.

jww
  • 83,594
  • 69
  • 338
  • 732
YJ Tu
  • 61
  • 1
  • 5

1 Answers1

1

You've already cloned Jieba into your home directory (~), which is why your second attempt at cloning failed. Enter the jieba directory, and run git pull to sync any changes from the master repo. You can then run python setup.py install in that directory to install the module.

To install pip on Windows, follow the instructions in this question.

Community
  • 1
  • 1
MattDMo
  • 90,104
  • 20
  • 213
  • 210