ubuntu16下安装easydict
Posted 巨鹿王十二
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu16下安装easydict相关的知识,希望对你有一定的参考价值。
直接使用命令:
conda install easydict
安装失败。
查找可用安装包:
anaconda search -t conda easydict
查找结果:
wmz@ubuntu:~/anaconda3/bin$ anaconda search -t conda easydict Using Anaconda API: https://api.anaconda.org Run ‘anaconda show <USER/PACKAGE>‘ to get more details: Packages: Name | Version | Package Types | Platforms ------------------------- | ------ | --------------- | --------------- auto/easydict | 1.4 | conda | linux-64, linux-32 : https://github.com/makinacorpus/easydict conda-forge/easydict | 1.9 | conda | noarch : Access dict values as attributes (works recursively). travis/easydict | 1.4 | conda | linux-64 : https://github.com/makinacorpus/easydict tzl/easydict | 1.7 | conda | osx-64 : Access dict values as attributes (works recursively). verydeep/easydict | 1.6 | conda | linux-64 : Access dict values as attributes (works recursively). xxbandy123/easydict | 1.7 | conda | linux-64 : Access dict values as attributes (works recursively). zhaofeng-shu33/easydict | 1.9 | conda | win-64, noarch : Access dict values as attributes (works recursively). Found 7 packages
然后选择一个安装:
conda install easydict==1.6
本以为这样应该可以通过,结果还是有问题。
然后查了一下安装方法:
anaconda show verydeep/easydict
显示返回结果:
wmz@ubuntu:~/anaconda3/bin$ anaconda show verydeep/easydict Using Anaconda API: https://api.anaconda.org Name: easydict Summary: Access dict values as attributes (works recursively). Access: public Package Types: conda Versions: + 1.6 To install this package with conda run: conda install --channel https://conda.anaconda.org/verydeep easydict
然后就可以按照上面的提示安装:
conda install --channel https://conda.anaconda.org/verydeep easydict
以上是关于ubuntu16下安装easydict的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段