jacob
jacob

Reputation: 256

Installing PySCIPOpt on OS X

I am trying to install PySCIPOpt on my mac, following the instructions here. When I try to test it as follows:

from pyscipopt import Model

I get the following error:

ImportError: dlopen(/anaconda3/lib/python3.7/site- packages/pyscipopt/scip.cpython-37m-darwin.so, 2): Symbol not found: _SCIPnlpiComp

I tried following the solution suggested here, but the error still occurs. Any ideas as to how I can fix this?

Upvotes: 1

Views: 885

Answers (1)

mattmilten
mattmilten

Reputation: 6706

This very much sounds like a version inconsistency. Please make sure that you are always using the latest version of the SCIP Optimization Suite together with the current PySCIPOpt version. You can check which version is linked by inspecting the scip.so library mentioned in the question:

otool -L scip.cpython-37m-darwin.so

Upvotes: 2

Related Questions