Solution to python jieba library installation failure

Solution to python jieba library installation failure

Usually, fully automatic installation is used: pip install jieba, which means that just open cmd and directly enter pip install jieba, but we may be prompted: You should consider upgrading via the 'pip install --upgrade pip' command. That is It is said that the following situation will occur:

Insert image description here
So how to solve it? I asked other people, and they said that domestic mirroring is enough. I used domestic mirroring, that is, open cmd and enter: pip install -i https://pypi.tuna.tsinghua. edu.cn/simple jieba, indeed it can be used like this. It will display:
Insert image description here
or:
Insert image description here
This means the installation is successful.

Guess you like

Origin blog.csdn.net/guoxuying/article/details/108304753