Skip to main content

GurobiPy 3.7 - When and Why has this not been done

Answered

Comments

7 comments

  • Jennifer Locke
    Gurobi Staff Gurobi Staff

    What version of Gurobi optimizer are you using?  Gurobi 8.1.1 supports python 2.7, 3.5, 3.6, and 3.7.  

    0
  • Gary Howorth
    Gurobi-versary
    First Comment
    First Question

    The latest 8.1.1

     

    see this https://www.gurobi.com/documentation/8.1/quickstart_mac/the_gurobi_python_interfac.html   link 

     

    "gurobipy can be used with Python 2.7, 3.6, or 3.7 on Mac OS."   

    So it doesn't appear that it works on windows .  Ive been told this will be fixed in version 9

     

     

    This is confirmed by the fact that pip3.7 install gurobipy  does not work  -  

    ERROR: Could not find a version that satisfies the requirement gurobipy (from versions: none)
    ERROR: No matching distribution found for gurobipy

     

    Works fine on python 3.6

     

     

    0
  • Silke Horn
    Gurobi Staff Gurobi Staff

    Actually, Python 3.7 should already be supported with Gurobi 8.1.1. See here. (You have been on the Mac page, but there is an equivalent one for Windows.)

    0
  • Gary Howorth
    Gurobi-versary
    First Comment
    First Question

    Thanks silke

    but why does the pip install not work .

     

    I have a brand new separate version of python 3.7 downloaded two days ago.  

    0
  • Silke Horn
    Gurobi Staff Gurobi Staff

    Gurobi does not yet offer pip install. (It's on the roadmap though.)

    You can install it with Anaconda or via the pysetup program in the Gurobi <installdir>/bin directory.

    0
  • Gary Howorth
    Gurobi-versary
    First Comment
    First Question

    OK the gurobi py version on pypi is an old one - 2013  like version 5 .  This works with 3.6 but not with 3.7. 

     

    I see you recommend to install with Anaconda but i dont want to install anaconda.   

     

    So can i download a python wheel or egg of  the appropriate files and run  setup.py install.  or maybe a tar.gz zip file

    Do you have a link to those files anywhere 

     

     

     

     

     

     

    0
  • Gary Howorth
    Gurobi-versary
    First Comment
    First Question

    ok you just answered my question - its in the gurobi directory .  many thanks 

     

    ps fyi https://pypi.org/project/gurobipy/

    0

Please sign in to leave a comment.