Home  >  Article  >  Backend Development  >  How to install jieba library in python

How to install jieba library in python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-02 10:39:0539896browse

How to install jieba library in python

1. Download the jieba library: https://pypi.org/project/jieba/

2. Unzip it to a folder:

How to install jieba library in python

Related recommendations: "Python Video Tutorial"

3. Run cmd and enter the jieba-0.39 folder:

How to install jieba library in python

4. Execute the command: python3 setup.py install and press Enter

How to install jieba library in python

##5. Test whether jieba is installed successfully

How to install jieba library in python

There is no problem in entering import jieba and the installation is successful.

How to install jieba library in python

The above is the detailed content of How to install jieba library in python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn