筆者在使用conda install安裝指定包jieba時,出現了
PackagesNotFoundError: The following packages are not available from current channels:- jieba
Current channels:
-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64-
-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
提示當前鏡像源中不存在這個包
接下來輸入
anaconda search -t conda [指定包名稱]
來查找所有包含指定包的源
在列表中選取一個就行,一般來說都選取conda-forge裏面的吧(?)
conda install -c https://conda.anaconda.org/[列表中對應的Name] [包的名稱]
比如這裏我們要輸入conda install -c https://conda.anaconda.org/conda-forge jieba
然後就可以安裝完了