メインコンテンツへスキップ

libgurobi100.so: cannot open shared object file: No such file or directory

ユーザーの入力を待っています。

コメント

7件のコメント

  • 正式なコメント
    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.
  • David Torres Sanchez
    • Gurobi Staff

    Hi,

    Some more details would be helpful.
    When are you seeing this error? Could you share the whole error message?

    Cheers, 
    David

    0
  • Di Lv
    • Gurobi-versary
    • First Question
    • First Comment

    Thanks! I met this error when I invoked the gurobi package in my python program. It happened as I wrote "import gurobipy as gp".

     

    0
  • David Torres Sanchez
    • Gurobi Staff

    How did you install the python package?
    When using pip/conda this should taken care of.  How do I install Gurobi for Python? 

    Additionally, your environment variable should be (in case it is already set):

    export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"

    See Linux section of How do I install Gurobi Optimizer? 

    Cheers, 
    David

    0
  • Di Lv
    • Gurobi-versary
    • First Question
    • First Comment

    In the Linux terminal, I use "cd" to get into the  gurobi1003/linux64, where i can find a python program named "setup.py", then I use "python setup.py install" to install gurobi. Finally ,I entered "gurobi.sh", it reminded me that I have successfully installed the gurobi of version 10.0.3

    0
  • Di Lv
    • Gurobi-versary
    • First Question
    • First Comment

    I have already set the four enviroment variables(GUROBI_HOME,PATH,LD_LIBRARY_PATH,GRB_LICENSE_FILE) using "vim ~/.bashrc"  

    0
  • David Torres Sanchez
    • Gurobi Staff

    Maybe you installed Gurobi as sudo?

    I would suggest you delete the current gurobipy installation (check where it is with `python3 -m pip uninstall gurobipy` and then remove the files and directories manually.

    Then re-install it using pip.

    Cheers, 
    David

    0

投稿コメントは受け付けていません。