Home >Backend Development >Python Tutorial >What should I do if python fails to install jieba?

What should I do if python fails to install jieba?

coldplay.xixi
coldplay.xixiOriginal
2020-06-17 09:52:5810980browse

What should I do if python fails to install jieba?

What should I do if python fails to install jieba?

Solution to the failure of python installation jieba:

1. First click the start icon in the lower left corner of the desktop, and then select Run.

What should I do if python fails to install jieba?

#2. Enter cmd in the pop-up window and click OK.

What should I do if python fails to install jieba?

3. Enter: pip install jieba, and then press the Enter key to automatically start the installation.

What should I do if python fails to install jieba?

4. After the installation is successful, enter: python -m pip list, and then press the Enter key to see whether the jieba library is installed successfully.

What should I do if python fails to install jieba?

#5. Enter: python and press Enter to enter the python interpreter.

What should I do if python fails to install jieba?

6. Enter the code: import jieba to import this library. If no error is reported, the installation is successful.

What should I do if python fails to install jieba?

Recommended tutorial: "python video tutorial"

The above is the detailed content of What should I do if python fails to install jieba?. 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