error in pycharm

Comments

2 comments

  • Grzegorz Siekaniec

    It seems that PyCharm is not picking up settings from your terminal set through ".bashrc" as explained in Gurobi documentation. So although you might be able to solve it from terminal, even terminal inside PyCharm, it will not work if you want to run it using configuration. What worked for me was to set "LD_LIBRARY_PATH=/opt/gurobi811/linux64/lib" in Environment Variables part of Configuration. I needed to pass a full path as substitution does not seem to work either.

    I am using Anaconda with Python 3.7 and in this specific instance I created virtual environment using "python3 -m --system-site-packages venv_gurobi"

    0
    Comment actions Permalink
  • Sonja Mars

    Hi,

    We have a knowledge base article about this topic. Have you already looked at it?

    Best regards,

      Sonja

    -1
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk