PackagesNotFoundError:当前频道不提供以下软件包:python_cypher == 0.14.2,py2neo == 4.3.0,ruamel.base == 1.0.0

时间:2020-11-04 05:41:19

标签: python anaconda conda

PackagesNotFoundError: The following packages are not available from current channels:

  - python_cypher==0.14.2

Current channels:

  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

当我尝试在PyCharm中安装以下列出的软件包时,出现上述错误

  1. sklearn-crfsuite == 0.3.6
  2. python_cypher == 0.14.2
  3. py2neo == 4.3.0
  4. ruamel.base == 1.0.0 我说错了
Package requirements 'sklearn-crfsuite==0.3.6','python_cypher==0.14.2','py2neo==4.3.0','ruamel.base==1.0.0' are not satisfied

我的conda信息是:

 active environment : base
    active env location : /home/sangeetha/anaconda3
            shell level : 1
       user config file : /home/sangeetha/.condarc
 populated config files : /home/sangeetha/.condarc
          conda version : 4.8.2
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __glibc=2.31
       base environment : /home/sangeetha/anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/sangeetha/anaconda3/pkgs
                          /home/sangeetha/.conda/pkgs
       envs directories : /home/sangeetha/anaconda3/envs
                          /home/sangeetha/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.2 requests/2.24.0 CPython/3.7.6 Linux/5.4.0-52-generic ubuntu/20.04.1 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

如何安装所需的软件包?

1 个答案:

答案 0 :(得分:0)

为什么不通过PyCharm终端上的pip安装它?

pip install python-cypher

如果您需要较小的版本,则可以使用== X,例如:

pip install python-cypher==0.14.2

如果需要在anaconda云上安装其版本,则可以使用ipython-cypher:

conda install -c creditx ipython-cypher