Import scip to python
Question: I've tried unsuccessfully to get scip running with python. I'm using Yosemite
(10.10.3), python 2.7 and have installed scip optimization suit
(<http://scip.zib.de/download.php?fname=scipoptsuite-3.1.1.tgz>) with make.

I can start scip after the installation via the terminal.

    
    
    sages-MBP:~ sage$ scip SCIP version 3.1.1 [precision: 8 byte] [memory: block] >[mode:optimized][LP solver: SoPlex 2.0.1] [GitHash: bade511] 
    

But when I try to use `import scip` in python there appears the message

    
    
    No module named scip
    

The same error message appears for `from zibopt import scip`

If I print the system path with `print sys.path` in python, the folder
`scipoptsuite-3.1.1/scip-3.1.1/bin` is included where the file
`scip-3.1.1.darwin.x86_64.gnu.opt.spx` is situated. Is it possible that the
reason for the error message is that I haven't linked correctly necessary
libraries?

Or which folders have to be included in the pythonpath to get scip working?

I Hope someone can help me out!


Answer: You need to install the python interface that comes with SCIP. Go to
`scip/interfaces/python/` and read the instructions in `README` and `INSTALL`.
This interface is using [Cython](http://cython.org/) to communicate with the
C-Code of SCIP.

`make` will only install the native Linux or Mac binaries/libraries.

The environment variable `DYLD_LIBRARY_PATH` needs to be set to contain the
`lib/` directory of the SCIPoptSuite installation (see comment by @саша)

