conda安装商业包

时间:2018-06-01 09:52:38

标签: python conda cplex

我正在尝试安装一些需要cplex的工具。推荐使用此工具的方法是使用conda。我从源代码安装了完整版的cplex(学术许可证),然后运行cthon安装中可用的python setup.py install。当我在python控制台中尝试import cplex时,它可以很好地工作而不会返回任何错误。此外,

conda list | egrep "cplex" 

返回

cplex                     12.8.0.0                  <pip>

但是,在输入时

conda search cplex 

我收到以下错误:

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

      cplex

Current channels: 
(here it lists some channel names)

有没有办法解决这个问题(看起来渠道不知道cplex,应该将其添加到其中一些)。

请注意我试图解决的问题有很多变量所以cplex的免费版本似乎更容易安装不是一个选项,任何建议使用免费cplex版本的建议不幸的是不会在我的案子中有任何帮助。

0 个答案:

没有答案