如何在 Anaconda 中安装 docplex 包?

How to install docplex package in Anaconda?

我正在尝试在工作计算机上安装 docplex,并且在尝试安装时想知道错误来自何处。

我正在使用 Anaconda3-5.2.0 和 Python 3.6.5.final.0。我在 运行 anaconda 提示符下输入以下代码:

conda install -c ibmdecisionoptimization docplex 

输入后出现此错误:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/ibmdecisionoptimization/win-64/repodata.json Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. ConnectionError(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /ibmdecisionoptimization/win-64/repodata.json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))",),)

我希望终端能安装包,但它给我一条错误消息。我尝试进行 pip 安装,但也无济于事。 请帮忙,谢谢!

请更新到最新版本的 Navigator。

在导航器上点击界面右上角的更新按钮或者 在终端类型

$ conda update conda
$ conda update anaconda-navigator
$ conda update navigator-updater