Installation of third-party libraries under Win8.1 Anaconda, an example to jieba

Recently things to see sentiment analysis, so the spyder in import jieba, and then on the error.
After Baidu, I found jieba is a third-party library that does not exist in anaconda built-in packages. Therefore, with conda install jieba be introduced or open Anaconda Navigator will fail.
So, I Baidu, fails, Baidu, and then fail, amassing Baidu, amassing ...... I fail to see is sentiment analysis, then here a few hours ...... card will

be staged after 500 rounds, I finally realized the essence of the installation.
Successful installation, you can import it finally! God ah, I finally installed the (then I decided at this note, to commemorate this meaningful process)

This is my operation in win8.1 environment, please turn to other systems.

  • 1.At first, we need to jieba download to your computer. (Download: https://pypi.org/project/jieba/ )
    page follows :( After entering the click download files on the left side, then click on the archive download right side)
  • 2. After download, extract, and then put it in the storage position anaconda other libraries. (Jieba has had a setup.py, we installed is to use the baby, a key figure ah!)
    I put myself in Anaconda F disk, and then install the package on other libraries in F: \ Anaconda \ pkgs years, so I put jieba downloaded into this folder it!

  • 3. Next, open the computer program: Anaconda Prompt, (like cmd, dark interface), installation of command input:

-- (1)因为我的anaconda在F盘,所以我需要把目录切换到F盘
-- (2)然后输入指令:cd Anaconda\pkgs\jieba-0.39。

(最终位置是这里:F:\Anaconda\pkgs\jieba-0.39)

-- (3)最后一步:输入指令:python setup.py install

最后的最后,你可以去检验是否导入成功了,反正我安装成功了

Guess you like

Origin www.cnblogs.com/wyy1480/p/11371596.html