关于Anaconda中PackageNotFoundError: Package not found: '' Pac
(2017-12-12 16:40:24)
标签:
anaconda |
分类: python |
一、Anaconda作为一个工具包集成管理工具,下载python工具包是很方便的,直接敲:
conda install package_name
但是有时候安装一个工具包(如xmltodict)的时候,在当前的channels中找不到这个包,会提示:
conda install pydot Fetching package metadata ....... Solving package specifications: . PackageNotFoundError: Package not found: '' Package missing in current win-64 channels: - xmltodictYou can search for packages on anaconda.org withanaconda search -t conda xmltodict
接着根据提示 输入 anaconda search -t conda xmltodict搜索结果:
http://www.th7.cn/d/file/p/2016/11/05/b881517de23ef4f1da9d8034f7f0c112.jpgPackage
现在就选择一个合适的版本进行安装,如我选择这个:
conda-forge/xmltodict | 0.10.2 | conda | linux-64, win-32, win-64, osx-64
那么执行下面命令进行安装即可:
conda install -c https://conda.anaconda.org/conda-forge xmltodict