How to install jieba library in python?

青灯夜游
Release: 2019-05-23 18:48:26
Original
57865 people have browsed it

How to install jieba library in python?

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
Copy after login

Then if the following situation occurs, it is installed

How to install jieba library in python?

4. Then use an example to test whether the installation is complete

How to install jieba library in python?

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template