Steps to install jieba library in python:
1. Download jieba library----third-party Chinese word segmentation function library
Download address: https://pypi.org/project/jieba/
2. Unzip the installation package and remember the decompression path
3. Use the cmd command prompt to install
First cd to the path of the file we just decompressed, locate the superior file of jieba's setup.py file, and then enter the following command:
python setup.py install
Then if the following situation occurs, it is installed
4. Then use an example to test whether the installation is complete
The installation is successful!
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!