Skip to main content

Gurobi ImportError: No module named site

Answered

Comments

4 comments

  • Gwyneth Butera
    Gurobi Staff Gurobi Staff

    Hi Manvi - 

    Did you install Gurobi using "conda install gurobi"? Or did you install the full install as described in https://www.gurobi.com/documentation/9.0/quickstart_linux/software_installation_guid.html?

    Also, can you check what the values for the system variables PYTHONHOME and PYTHONPATH are?

    Thanks!

    0
  • Manvi Gupta
    Gurobi-versary
    First Comment
    First Question

    Hi Gwyneth,

    Thanks for your reply.

    I have installed Gurobi as described in the installation guide. 

    PYTHONPATH and PYTHONHOME are unset.

    Regards.

     

     

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Manvi,

    Can you please check whether you can run gurobi_cl without errors or warnings?

    Cheers,
    Matthias

    0
  • Manvi Gupta
    Gurobi-versary
    First Comment
    First Question

    Hi Matthias,

    Yes, gurobi_cl works fine. 

    Thanks.

    Manvi

    0

Please sign in to leave a comment.