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 jieba
or 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 jieba
can succeed without error, but an error in jupyter notebook test in pycharm import jieba
is being given.
The last solution is as follows:
1, the official website to download from jieba archive
https://pypi.org/project/jieba/#files
2, 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 install
can be.
4, open jupyter notebook test again import jieba
, normal
pycharm in import jieba
normal.
reference: