Skip to content

Gurobi Python interface error #113

@qtothec

Description

@qtothec

Somewhere between 2c5e8d4 and 14dc91f, a change was made that seems to affect the Gurobi python interface. Code that executes properly in the former commit raises the following error:
I should note that the module six is available in the venv used.

ERROR: "[base]/pyomo/pyomo/opt/base/solvers.py", 599, solve
        Solver (gurobi) returned non-zero return code (1)
ERROR: "[base]/pyomo/pyomo/opt/base/solvers.py", 604, solve
        Solver log:
        Traceback (most recent call last):
          File "<stdin>", line 4, in <module>
          File "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/solvers/plugins/solvers/GUROBI_RUN.py", line 12, in <module>
            import six
        ImportError: No module named six

This issue also affects IDAES/models#190.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions