简体   繁体   English

无法安装 Anaconda Navigator PIP Python-Firebase 包

[英]Anaconda Navigator PIP Python-Firebase Package Won't Install

I am having issues with having Conda install the library at this link: https://github.com/ozgur/python-firebase我在让 Conda 在此链接上安装库时遇到问题: https : //github.com/ozgur/python-firebase

I am running: conda install python-firebase我正在运行: conda install python-firebase

This is the response I get:这是我得到的回应:

    Collecting package metadata (current_repodata.json): done
    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    Collecting package metadata (repodata.json): done
    Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

      - python-firebase

    Current channels:

      - 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.

Does anyone have a solution?有没有人有办法解决吗? I successfully installed it through pip , but I can't get the package in the Conda environment.我通过pip安装成功,但是在Conda环境下无法获取包。

Python 3.7.4蟒蛇 3.7.4

You have to run this你必须运行这个

conda install -c auto python-firebase

Take a look at this看看这个

Checking https://anaconda.org/search?q=firebase you can see that there is only one entry that has win64 listed on the right side.检查https://anaconda.org/search?q=firebase您可以看到只有一个条目在右侧列出了win64 Since you are running on windows, you need to select that one and then enter the correct installation command:由于你是在windows上运行,你需要选择那个,然后输入正确的安装命令:

conda install -c nayyaung python-firebase

(Note that the channel auto suggested in other answers has only linux-64 available) (请注意,其他答案中建议的频道auto只有linux-64可用)

As to your question from the comments:至于你从评论中提出的问题:

I guess I was asking if theres anyway for Conda to pull libraries out of my PIP env我想我是在问 Conda 是否可以从我的 PIP 环境中提取库

I don't really know what you mean by pull from my pip env .我真的不知道pull from my pip env是什么意思。 If that means somehow pointing to the site-packages of another python installation, then no, this would be rather difficult to implement I guess.如果这意味着以某种方式指向另一个 python 安装的site-packages ,那么不,我猜这将很难实现。 However, you can always pip install any package from pypi to your conda environments if they are not available for win64 from the conda channels.但是,您可以随时pip install从PyPI将任何包您conda的环境,如果他们不提供win64从畅达通道。 Also Read This on using pip in conda environments另请阅读有关在conda环境中使用pip

尝试执行conda install -c auto python-firebase检查https://anaconda.org/auto/python-firebase以获取更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM