如何在 Anaconda(Conda)中搜索和安装软件包

如何在 Anaconda(Conda)中搜索和安装软件包

我正在尝试安装,pandoc所以我安装了conda install pandoc,但没有弹出任何内容,它告诉我搜索。我用搜索anaconda search -t conda pandoc,结果如下...我该如何安装zhenxieit/pandoc?我正在尝试安装它以从我的iPython文档中制作 .pdf 文件,所以我认为这是最好的。我试过了conda install zhenxieit/pandoc,但没有用,然后我又试了conda install --name zhenxieit/pandoc,还是不行。

Using binstar api site https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms      
     ------------------------- |   ------ | --------------- | ---------------
     ???/pandoc                |   1.12.3 | conda           | linux-64       
     BjornFJohansson/pandocfilters |    1.2.4 | conda           | linux-64, win-32, osx-64, linux-32, win-64
                                          : Utilities for writing pandoc filters in python
     asmeurer/pandoc           |   1.13.1 | conda           | linux-64, linux-32, osx-64
                                          : Universal markup converter
     auto/flask-flatpages-pandoc |      0.2 | conda           | linux-64, linux-32
                                          : http://github.com/fhirschmann/Flask-FlatPages-Pandoc
     auto/pypandoc             |    0.8.1 | conda           | linux-64, linux-32
                                          : https://github.com/bebraw/pypandoc
     ivoflipse/pandocfilters   |    1.2.3 | conda           | win-64         
                                          : Utilities for writing pandoc filters in python
     jsw-fnal/pandoc           | 1.12.4.2 | conda           | linux-64       
                                          : None
     richlewis/pandoc          |   1.12.3 | conda           | osx-64         
                                          : Universal markup converter
     wakari1/pandoc            |   1.12.3 | conda           | linux-64       
                                          : Universal markup converter
     zhenxieit/pandoc          |   1.13.1 | conda           | osx-64         
                                          : Universal markup converter

答案1

韋卡

您可以找到每个用户软件包组合的网站。您从 zhenxieit 的存储库请求了 pandoc。您可以在 [https://anaconda.org/zhenxieit/pandoc]如何安装。此特定软件包的安装方式如下

conda install -c https://conda.anaconda.org/zhenxieit pandoc

答案2

经过过去两年的更新,您现在可以pandoc使用conda install最初尝试的命令进行安装。这是我在 Windows 机器上刚刚收到的输出。

$ conda install pandoc
Solving environment: ...working... done

## Package Plan ##

  environment location: C:\Users\schowell\AppData\Local\Continuum\Anaconda3

  added / updated specs:
    - pandoc


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-4.5.4                |           py36_0         1.0 MB

The following NEW packages will be INSTALLED:

    pandoc: 1.19.2.1-hb2460c7_1

The following packages will be UPDATED:

    conda:  4.5.2-py36_0        --> 4.5.4-py36_0

Proceed ([y]/n)?


Downloading and Extracting Packages
conda 4.5.4########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done

相关内容