anaconda installation jieba (toss for a long time) and finally get

Today intends to install jieba in anaconda, the overall feeling of direct pip install jieba be easy to get, and eventually found too young to simple.
I was the first to use pip install jiebaor conda install jieba(or some similar variant of the method) and other methods to install successfully installed the 0.39 version, in the anaconda prompt import jiebacan succeed without error, but an error in jupyter notebook test in pycharm import jiebais being given.
The last solution is as follows:
1, the official website to download from jieba archive
https://pypi.org/project/jieba/#files

Here Insert Picture Description2, the archive into the anaconda pkgs directory.

3, open anaconda prompt, change directory to like my D: /anaconda/pkgs/jieba-0.39
then executes python setup.py installcan be.

4, open jupyter notebook test again import jieba, normal
pycharm in import jiebanormal.

reference:

https://blog.csdn.net/zhaohaibo_/article/details/79253740

Guess you like

Origin blog.csdn.net/xavier_muse/article/details/94440563