How can I install Pyomo's “extras” using pip?

后端 未结 2 2042
礼貌的吻别
礼貌的吻别 2021-01-29 03:19

I am writing because I am having trouble installing Pyomo using pip on Python 3.6 on Mac OSX 10.14

I\'m following the installation instructions here.

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-29 03:40

    This is a documented issue on the github for Pyomo: https://github.com/Pyomo/pyomo/issues/243

    They don't appear to have solved the pip installation of pyomo extras.

    However, if you have conda installed - https://docs.conda.io/en/latest/

    You should be able to use the terminal commands from:

    https://pyomo.readthedocs.io/en/latest/installation.html

    run this in terminal after conda has been successfully installed:

    conda install -c conda-forge pyomo.extras
    

    I know this isn't pip, but it's at least a workaround until pyomo fixes their documentation.

    • confirmed working on python 3.x and ubuntu 18.04

提交回复
热议问题