Gurobi with Django on uwsgi on Ubuntu

Comments

1 comment

  • Greg Glockner

    Basically, wherever the Django code runs, it needs to see the shared library file libgurobi90.so. To do this with the LD_LIBRARY_PATH variable, you will need to set this as an environment variable so that Linux can access the shared library.

    That said, if you have sudo privileges to this computer, it might be easier just to put the shared library into /usr/local/lib, e.g.:

    sudo ln -s $GUROBI_HOME/lib/libgurobi90.so /usr/local/lib && sudo ldconfig
    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk