Manual installation package Pycharm jieba

Used in learning jieba word is pycharm, but looking at setting inside when jieba
Here Insert Picture Description

He did not! ! ! ! !

Here Insert Picture Description
Then you have to manually install the chant. .
First, I chose to use the command-line installation method is
Here Insert Picture Description
a command line change to the current environment python under your position, which you can see in Setting
Here Insert Picture Description
Here Insert Picture Description
then use pip to install, note that this image can be used for installation of Tsinghua than outside the network installation will be much faster, at this site there are more mirror sites may choose mirroring
using pip instructions to complete the operation

pip install jieba -i https://pypi.tuna.tsinghua.edu.cn/simple

Here Insert Picture Description
The figure is the effect after I installed the (then I discovered that in fact there will be a package of this library before my local anaconda)

Then maybe this does not import the pycharm
find downloaded jieba corresponding package folder
Here Insert Picture Description
and copy it to the next package python library files corresponding
My address is

D:\anaconda\envs\tensorflow\Lib\site-packages

We can put in front of places to tensorflow address into your python is located, and then find the site-packages lib folder can be friends!

Published 36 original articles · won praise 11 · views 2876

Guess you like

Origin blog.csdn.net/yeweij226/article/details/104361721