Skip to main content

ModuleNotFoundError

Answered

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Simranjit Kaur
    • Gurobi Staff

    Hi,

    To use the gurobi_ml module, please ensure that you have installed the gurobi-machinelearning package.

    The package can be installed easily via pip:

     pip install gurobi-machinelearning

    For more details, please refer to the installation instructions here.

    Regards,

    Simran

    0
  • Olatunji Adeyanju
    • Gurobi-versary
    • First Comment
    • First Question

    Unfortunately, this doesn't resolve the issue. Here is a screenshot for your info. Thanks 

    0
  • Pierre Bonami
    • Gurobi Staff

    Hello,

    It looks like it's an issue with your python not finding the package.You could try to uninstall Gurobi machine learning and reinstall it.

    You could also try seeing what is the output of the find_spec function:

    ```

    from importlib.util import find_spec

    spec = find_spec('gurobi_ml')

    ```

     

    0

Post is closed for comments.