[SCIP] Setup PyScipOpt failed

Gregor Hendel hendel at zib.de
Thu Jul 5 10:04:19 CEST 2018


Hello SCIP user,

I think that you used the classical Makefile system of SCIP for 
installation, and discovered its only flaw.
As far as I know, the Python interface is only compatible with the 
libraries and installation that CMake produces. Please try again using 
CMake.

Good luck,
Gregor

Am 05.07.2018 um 08:45 schrieb cuiyouzhi0000:
> Hello SCIP experts,
>
> I got below error when I build PyScipOpt on my machine after I built and installed scip 6.0. Could I ask for help? Thanks a lot.
>
> python setup.py install --debug
> running install
> running bdist_egg
> running egg_info
> writing PySCIPOpt.egg-info/PKG-INFO
> writing dependency_links to PySCIPOpt.egg-info/dependency_links.txt
> writing top-level names to PySCIPOpt.egg-info/top_level.txt
> reading manifest file 'PySCIPOpt.egg-info/SOURCES.txt'
> writing manifest file 'PySCIPOpt.egg-info/SOURCES.txt'
> installing library code to build/bdist.macosx-10.7-x86_64/egg
> running install_lib
> running build_py
> running build_ext
> building 'pyscipopt.scip' extension
> gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/cuiyouzhi/anaconda3/include -arch x86_64 -I/Users/cuiyouzhi/anaconda3/include -arch x86_64 -I/Users/cuiyouzhi/scipoptsuite-6.0.0/scip/include -I/Users/cuiyouzhi/anaconda3/include/python3.6m -c src/pyscipopt/scip.c -o build/temp.macosx-10.7-x86_64-3.6/src/pyscipopt/scip.o -UNDEBUG
> In file included from src/pyscipopt/scip.c:550:
> In file included from /usr/local/include/scip/scipdefplugins.h:159:
> /usr/local/include/scip/presol_symmetry.h:34:10: fatal error: 'symmetry/type_symmetry.h' file not found
> #include <symmetry/type_symmetry.h>
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> error: command 'gcc' failed with exit status 1
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip



More information about the Scip mailing list