1. Download the jieba library: https://pypi.org/project/jieba/
2. Unzip it to a folder:
Related recommendations: "Python Video Tutorial"
3. Run cmd and enter the jieba-0.39 folder:
4. Execute the command: python3 setup.py install and press Enter
##5. Test whether jieba is installed successfully There is no problem in entering import jieba and 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!