【问题标题】:Failed to install apache-beam in a brand new anaconda enviornment无法在全新的 anaconda 环境中安装 apache-beam
【发布时间】:2021-10-17 22:38:45
【问题描述】:

我想尝试一下 apache-beam,我用 Python 3.8 创建了一个全新的 conda env,然后我按照这个 question 中的解决方案,我尝试了以下命令,但它们都不起作用。

conda install apache-beam
conda install -c conda-forge apache-beam
conda install -c conda-forge apache-beam==2.31.0
conda install -c conda-forge/label/cf202003 apache-beam
conda install -c conda-forge/label/cf201901 apache-beam

第二个和第三个命令给了我:

Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - apache-beam

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/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.

其他命令也给了我类似的结果,我在这里遗漏了什么吗?有人可以帮忙吗?

【问题讨论】:

    标签: python pip anaconda conda apache-beam


    【解决方案1】:

    Conda Forge 原料不适用于 win-64 平台。考虑 dropping them an Issue 请求 Windows 构建。

    与此同时,the Python version seems available through Pip。确保您的环境 - 我称之为 my_env - 已安装 pip,然后尝试通过那里安装:

    conda install -n my_env pip
    
    conda activate my_env
    
    python -m pip install apache-beam
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-04
      • 2023-03-29
      • 2019-07-15
      • 1970-01-01
      • 2019-02-25
      • 1970-01-01
      相关资源
      最近更新 更多