Python 在 Anaconda Navigator 上找不到包。接下来做什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39299726/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 22:06:21  来源:igfitidea点击:

Can't find package on Anaconda Navigator. What to do next?

pythonnumpyscipyanacondapulp

提问by dimrizo

I am trying to install "pulp" module in Anaconda Navigator's Environment tabs. But when I search in "All" packages I can't find it. It happened with other packages too.

我正在尝试在 Anaconda Navigator 的环境选项卡中安装“纸浆”模块。但是当我在“所有”包中搜索时,我找不到它。它也发生在其他包上。

enter image description here

在此处输入图片说明

Is there any way to install my package to the desired environment?

有什么办法可以将我的软件包安装到所需的环境中吗?

I tried to install it by opening a terminal in the environment, but I see that afterwards it won't show up in the list.

我试图通过在环境中打开一个终端来安装它,但我发现它之后不会出现在列表中。

What am I missing here?

我在这里缺少什么?

回答by Lin Eliza

  1. Click Open terminalfrom environment
  1. Open terminal从环境点击

open

打开

  1. Execute conda install kerasin terminal mode
  1. conda install keras在终端模式下执行

execute

执行

回答by Giri19

Thanks for A2A

感谢 A2A

  1. Open "Anaconda Navigator"
  2. Navigate to "Environments"
  3. Select your environment where the package needs to be installed
  4. Click on the "play/pause" button present on the environment name
  5. Click "Open terminal" from your environment
  6. In terminal type "conda install (package-name)"
  1. 打开“蟒蛇导航器”
  2. 导航到“环境”
  3. 选择需要安装包的环境
  4. 单击环境名称上的“播放/暂停”按钮
  5. 从您的环境中单击“打开终端”
  6. 在终端输入“conda install (package-name)”

Added instructions1. If the package is not available in any of the Anaconda Repository then type the following: "pip install (package name)"

添加说明1. 如果该软件包在任何 Anaconda 存储库中都不可用,请键入以下内容:“pip install (package name)”

回答by Safwan

Download tar.gz file of the package (in your case, pulp) from hereand follow the accepted answer of this stackoverflow question.

这里下载包的 tar.gz 文件(在您的情况下是纸浆),并按照此 stackoverflow question的已接受答案进行操作。