【问题标题】:How to install python package in Anaconda environment when there is no channel installer没有频道安装程序时如何在Anaconda环境中安装python包
【发布时间】:2022-05-12 00:27:52
【问题描述】:

我使用 Anaconda 来管理我的 python 环境。根据here 的回答,我尝试在每个环境中坚持一个渠道。

我想安装Beampy。根据Anaconda page for Beampy,好像没有conda-forge频道,所以我尝试了默认的conda频道,但看起来它只适用于Linux(我在Windows上)。

我可以在 Anaconda Prompt 中运行 pip install beampy-slideshow 并激活我想要的环境,还是混合 pip install 和 conda 通道是不好的做法?如何安装 Beampy(或适合 conda 的替代方案)?

【问题讨论】:

    标签: python pip anaconda channels


    【解决方案1】:

    你应该试试:pip install beampy。这将搜索其他频道,直到找到它 - 如果可以的话。通常你不应该将 pip 与 Andaconda 一起使用,但 conda install beampy 找不到包。尝试使用 pip 加载,看看它是否有效。

    【讨论】:

      猜你喜欢
      • 2019-04-24
      • 1970-01-01
      • 2020-04-11
      • 2018-11-14
      • 2021-03-18
      • 2020-10-18
      • 2018-04-10
      • 1970-01-01
      • 2014-10-11
      相关资源
      最近更新 更多