Gurobi with Django on uwsgi on Ubuntu


1 comment

  • Greg Glockner

    Basically, wherever the Django code runs, it needs to see the shared library file 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/ /usr/local/lib && sudo ldconfig
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk