Skip to main content

Gurobi_ML with Python 3.11

Answered

Comments

5 comments

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Hussein,

    The package is currently tested and working ok with Python 3.9 - 3.12.

    Please paste as much detail as you can around the issue you're experiencing so that we can help you to resolve.

    - Riley

    0
  • Hussein OBEID
    First Comment
    First Question

    Hi Riley,

    Thank you for your response.

    After further investigation, I found that the `Gurobi_ml` folder needs to be placed in the same directory as my code to be imported and used correctly. Could you please confirm if this is the correct approach?

    Thank you for your assistance.

    Best regards,  
    Hussein

     

    0
  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Hussein,

    That should not be necessary. It sounds like either package is not installed correctly, or you are using a Python environment that is different to the one the package is installed into.

    - Riley

    0
  • Hussein OBEID
    First Comment
    First Question

    Hi Riley,

    Thank you for the clarification.

    I will review the installation and environment alignment. For now, it seems to be working for my case.

    Best regards,
    Hussein

    0
  • Hussein OBEID
    First Comment
    First Question

    Hi Riley,

    Thank you for your help.

    The problem was that the Python environment differed from the one the package was installed into. I have fixed this issue, and everything works well now.

    Best regards,
    Hussein

    0

Please sign in to leave a comment.