Re: [sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi
Fixed in https://github.com/mkoeppe/sage-numerical-backends-gurobi/commit/b756bf8b01be1a3a3f8ee2b0493687bd986db0f5 I'll make a new release soon. On Saturday, January 11, 2020 at 5:26:48 AM UTC-5, David Coudert wrote: > > Done. This is now issue #1 > > Le samedi 11 janvier 2020 11:19:23 UTC+1, Dima Pasechnik a écrit : >> >> >> >> On Sat, 11 Jan 2020, 10:14 David Coudert, wrote: >> >>> I have an error when trying to install the gurobi backend that is now a >>> separate optional package. >>> I followed the instructions for installing the gurobi backend with sage >>> 9.1.beta0 and macOS Mojave 10.14.6. >>> I have gurobi 8.11 and gurobi.sh is in my path (so no need to set >>> GUROBI_HOME). >>> (note that I successfully installed the cplex backend). >>> >>> Should I report this issue directly on >>> https://github.com/mkoeppe/sage-numerical-backends-gurobi ? >>> >> >> it would help if you copied this report there too. >> >>> >>> confetti:sage dcoudert$ ./sage -python -m pip install >>> sage-numerical-backends-gurobi >>> >>> Collecting sage-numerical-backends-gurobi >>> >>> Downloading >>> https://files.pythonhosted.org/packages/2c/5c/e1532bb6cde28cf86ebffd408ccb500d7b846bc29bbd1c5e479a2f18acb6/sage_numerical_backends_gurobi-9.0b12.tar.gz >>> >>> Requirement already satisfied: sphinx in >>> ./local/lib/python3.7/site-packages (from sage-numerical-backends-gurobi) >>> (1.8.5) >>> >>> Requirement already satisfied: six>=1.5 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (1.12.0) >>> >>> Requirement already satisfied: Jinja2>=2.3 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (2.10) >>> >>> Requirement already satisfied: Pygments>=2.0 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (2.3.1) >>> >>> Requirement already satisfied: docutils>=0.11 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (0.14) >>> >>> Requirement already satisfied: snowballstemmer>=1.1 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (1.2.1) >>> >>> Requirement already satisfied: babel!=2.0,>=1.3 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (2.6.0) >>> >>> Requirement already satisfied: alabaster<0.8,>=0.7 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (0.7.12) >>> >>> Requirement already satisfied: imagesize in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (1.1.0) >>> >>> Requirement already satisfied: requests>=2.0.0 in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (2.13.0) >>> >>> Requirement already satisfied: setuptools in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (40.6.3) >>> >>> Requirement already satisfied: packaging in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (18.0) >>> >>> Requirement already satisfied: sphinxcontrib-websupport in >>> ./local/lib/python3.7/site-packages (from >>> sphinx->sage-numerical-backends-gurobi) (1.1.0) >>> >>> Requirement already satisfied: MarkupSafe>=0.23 in >>> ./local/lib/python3.7/site-packages (from >>> Jinja2>=2.3->sphinx->sage-numerical-backends-gurobi) (1.1.0) >>> >>> Requirement already satisfied: pytz>=0a in >>> ./local/lib/python3.7/site-packages (from >>> babel!=2.0,>=1.3->sphinx->sage-numerical-backends-gurobi) (2018.7) >>> >>> Requirement already satisfied: pyparsing>=2.0.2 in >>> ./local/lib/python3.7/site-packages (from >>> packaging->sphinx->sage-numerical-backends-gurobi) (2.3.0) >>> >>> Installing collected packages: sage-numerical-backends-gurobi >>> >>> Running setup.py install for sage-numerical-backends-gurobi ... error >>> >>> Complete output from command /Users/dcoudert/sage/local/bin/python3 >>> -u -c "import setuptools, >>> tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-install-t4k429rc/sage-numerical-backends-gurobi/setup.py';f=getattr(tokenize, >>> >>> 'open', open)(__file__);code=f.read().replace('\r\n', >>> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record >>> /private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-record-sk9om1cp/install-record.txt >>> >>> --single-version-externally-managed --compile: >>> >>> Using GUROBI_HOME obtained from gurobi.sh: >>> >>> GUROBI_HOME is not set, or it does not point to a directory with a >>> Gurobi installation. Trying to link against -lgurobi >>> >>> Checking whether HAVE_SAGE_CPYTHON_STRING... >>> >>> Checking whether HAVE_ADD_COL_UNTYPED_ARGS... >>> >>> Using compile_time_env: {'HAVE_SAGE_CPYTHON_STRING': True, >>> 'HAVE_ADD_COL_UNTYPED_ARGS': True} >>> >>> running install >>> >>> running build >
Re: [sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi
Done. This is now issue #1 Le samedi 11 janvier 2020 11:19:23 UTC+1, Dima Pasechnik a écrit : > > > > On Sat, 11 Jan 2020, 10:14 David Coudert, > wrote: > >> I have an error when trying to install the gurobi backend that is now a >> separate optional package. >> I followed the instructions for installing the gurobi backend with sage >> 9.1.beta0 and macOS Mojave 10.14.6. >> I have gurobi 8.11 and gurobi.sh is in my path (so no need to set >> GUROBI_HOME). >> (note that I successfully installed the cplex backend). >> >> Should I report this issue directly on >> https://github.com/mkoeppe/sage-numerical-backends-gurobi ? >> > > it would help if you copied this report there too. > >> >> confetti:sage dcoudert$ ./sage -python -m pip install >> sage-numerical-backends-gurobi >> >> Collecting sage-numerical-backends-gurobi >> >> Downloading >> https://files.pythonhosted.org/packages/2c/5c/e1532bb6cde28cf86ebffd408ccb500d7b846bc29bbd1c5e479a2f18acb6/sage_numerical_backends_gurobi-9.0b12.tar.gz >> >> Requirement already satisfied: sphinx in >> ./local/lib/python3.7/site-packages (from sage-numerical-backends-gurobi) >> (1.8.5) >> >> Requirement already satisfied: six>=1.5 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (1.12.0) >> >> Requirement already satisfied: Jinja2>=2.3 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (2.10) >> >> Requirement already satisfied: Pygments>=2.0 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (2.3.1) >> >> Requirement already satisfied: docutils>=0.11 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (0.14) >> >> Requirement already satisfied: snowballstemmer>=1.1 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (1.2.1) >> >> Requirement already satisfied: babel!=2.0,>=1.3 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (2.6.0) >> >> Requirement already satisfied: alabaster<0.8,>=0.7 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (0.7.12) >> >> Requirement already satisfied: imagesize in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (1.1.0) >> >> Requirement already satisfied: requests>=2.0.0 in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (2.13.0) >> >> Requirement already satisfied: setuptools in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (40.6.3) >> >> Requirement already satisfied: packaging in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (18.0) >> >> Requirement already satisfied: sphinxcontrib-websupport in >> ./local/lib/python3.7/site-packages (from >> sphinx->sage-numerical-backends-gurobi) (1.1.0) >> >> Requirement already satisfied: MarkupSafe>=0.23 in >> ./local/lib/python3.7/site-packages (from >> Jinja2>=2.3->sphinx->sage-numerical-backends-gurobi) (1.1.0) >> >> Requirement already satisfied: pytz>=0a in >> ./local/lib/python3.7/site-packages (from >> babel!=2.0,>=1.3->sphinx->sage-numerical-backends-gurobi) (2018.7) >> >> Requirement already satisfied: pyparsing>=2.0.2 in >> ./local/lib/python3.7/site-packages (from >> packaging->sphinx->sage-numerical-backends-gurobi) (2.3.0) >> >> Installing collected packages: sage-numerical-backends-gurobi >> >> Running setup.py install for sage-numerical-backends-gurobi ... error >> >> Complete output from command /Users/dcoudert/sage/local/bin/python3 >> -u -c "import setuptools, >> tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-install-t4k429rc/sage-numerical-backends-gurobi/setup.py';f=getattr(tokenize, >> >> 'open', open)(__file__);code=f.read().replace('\r\n', >> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record >> /private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-record-sk9om1cp/install-record.txt >> >> --single-version-externally-managed --compile: >> >> Using GUROBI_HOME obtained from gurobi.sh: >> >> GUROBI_HOME is not set, or it does not point to a directory with a >> Gurobi installation. Trying to link against -lgurobi >> >> Checking whether HAVE_SAGE_CPYTHON_STRING... >> >> Checking whether HAVE_ADD_COL_UNTYPED_ARGS... >> >> Using compile_time_env: {'HAVE_SAGE_CPYTHON_STRING': True, >> 'HAVE_ADD_COL_UNTYPED_ARGS': True} >> >> running install >> >> running build >> >> running build_py >> >> creating build >> >> creating build/lib.macosx-10.9-x86_64-3.7 >> >> creating >> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi >> >> copying sage_numerical_backends_gurobi/__init__.py -> >> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi >> >> copying sage_n
Re: [sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi
On Sat, 11 Jan 2020, 10:14 David Coudert, wrote: > I have an error when trying to install the gurobi backend that is now a > separate optional package. > I followed the instructions for installing the gurobi backend with sage > 9.1.beta0 and macOS Mojave 10.14.6. > I have gurobi 8.11 and gurobi.sh is in my path (so no need to set > GUROBI_HOME). > (note that I successfully installed the cplex backend). > > Should I report this issue directly on > https://github.com/mkoeppe/sage-numerical-backends-gurobi ? > it would help if you copied this report there too. > > confetti:sage dcoudert$ ./sage -python -m pip install > sage-numerical-backends-gurobi > > Collecting sage-numerical-backends-gurobi > > Downloading > https://files.pythonhosted.org/packages/2c/5c/e1532bb6cde28cf86ebffd408ccb500d7b846bc29bbd1c5e479a2f18acb6/sage_numerical_backends_gurobi-9.0b12.tar.gz > > Requirement already satisfied: sphinx in > ./local/lib/python3.7/site-packages (from sage-numerical-backends-gurobi) > (1.8.5) > > Requirement already satisfied: six>=1.5 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (1.12.0) > > Requirement already satisfied: Jinja2>=2.3 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (2.10) > > Requirement already satisfied: Pygments>=2.0 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (2.3.1) > > Requirement already satisfied: docutils>=0.11 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (0.14) > > Requirement already satisfied: snowballstemmer>=1.1 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (1.2.1) > > Requirement already satisfied: babel!=2.0,>=1.3 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (2.6.0) > > Requirement already satisfied: alabaster<0.8,>=0.7 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (0.7.12) > > Requirement already satisfied: imagesize in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (1.1.0) > > Requirement already satisfied: requests>=2.0.0 in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (2.13.0) > > Requirement already satisfied: setuptools in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (40.6.3) > > Requirement already satisfied: packaging in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (18.0) > > Requirement already satisfied: sphinxcontrib-websupport in > ./local/lib/python3.7/site-packages (from > sphinx->sage-numerical-backends-gurobi) (1.1.0) > > Requirement already satisfied: MarkupSafe>=0.23 in > ./local/lib/python3.7/site-packages (from > Jinja2>=2.3->sphinx->sage-numerical-backends-gurobi) (1.1.0) > > Requirement already satisfied: pytz>=0a in > ./local/lib/python3.7/site-packages (from > babel!=2.0,>=1.3->sphinx->sage-numerical-backends-gurobi) (2018.7) > > Requirement already satisfied: pyparsing>=2.0.2 in > ./local/lib/python3.7/site-packages (from > packaging->sphinx->sage-numerical-backends-gurobi) (2.3.0) > > Installing collected packages: sage-numerical-backends-gurobi > > Running setup.py install for sage-numerical-backends-gurobi ... error > > Complete output from command /Users/dcoudert/sage/local/bin/python3 -u > -c "import setuptools, > tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-install-t4k429rc/sage-numerical-backends-gurobi/setup.py';f=getattr(tokenize, > 'open', open)(__file__);code=f.read().replace('\r\n', > '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record > /private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-record-sk9om1cp/install-record.txt > --single-version-externally-managed --compile: > > Using GUROBI_HOME obtained from gurobi.sh: > > GUROBI_HOME is not set, or it does not point to a directory with a > Gurobi installation. Trying to link against -lgurobi > > Checking whether HAVE_SAGE_CPYTHON_STRING... > > Checking whether HAVE_ADD_COL_UNTYPED_ARGS... > > Using compile_time_env: {'HAVE_SAGE_CPYTHON_STRING': True, > 'HAVE_ADD_COL_UNTYPED_ARGS': True} > > running install > > running build > > running build_py > > creating build > > creating build/lib.macosx-10.9-x86_64-3.7 > > creating > build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi > > copying sage_numerical_backends_gurobi/__init__.py -> > build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi > > copying sage_numerical_backends_gurobi/gurobi_backend.pxd -> > build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi > > running build_ext > > building 'sage_numerical_backends_gurobi.gurobi_backend' extension > > creating build/temp.macosx-10.9-x86_64-3.7 > > creating > build/t
[sage-devel] 9.1.beta0: issue with sage-numerical-backends-gurobi
I have an error when trying to install the gurobi backend that is now a separate optional package. I followed the instructions for installing the gurobi backend with sage 9.1.beta0 and macOS Mojave 10.14.6. I have gurobi 8.11 and gurobi.sh is in my path (so no need to set GUROBI_HOME). (note that I successfully installed the cplex backend). Should I report this issue directly on https://github.com/mkoeppe/sage-numerical-backends-gurobi ? confetti:sage dcoudert$ ./sage -python -m pip install sage-numerical-backends-gurobi Collecting sage-numerical-backends-gurobi Downloading https://files.pythonhosted.org/packages/2c/5c/e1532bb6cde28cf86ebffd408ccb500d7b846bc29bbd1c5e479a2f18acb6/sage_numerical_backends_gurobi-9.0b12.tar.gz Requirement already satisfied: sphinx in ./local/lib/python3.7/site-packages (from sage-numerical-backends-gurobi) (1.8.5) Requirement already satisfied: six>=1.5 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.12.0) Requirement already satisfied: Jinja2>=2.3 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.10) Requirement already satisfied: Pygments>=2.0 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.3.1) Requirement already satisfied: docutils>=0.11 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (0.14) Requirement already satisfied: snowballstemmer>=1.1 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.2.1) Requirement already satisfied: babel!=2.0,>=1.3 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.6.0) Requirement already satisfied: alabaster<0.8,>=0.7 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (0.7.12) Requirement already satisfied: imagesize in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.1.0) Requirement already satisfied: requests>=2.0.0 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.13.0) Requirement already satisfied: setuptools in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (40.6.3) Requirement already satisfied: packaging in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (18.0) Requirement already satisfied: sphinxcontrib-websupport in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.1.0) Requirement already satisfied: MarkupSafe>=0.23 in ./local/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx->sage-numerical-backends-gurobi) (1.1.0) Requirement already satisfied: pytz>=0a in ./local/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->sage-numerical-backends-gurobi) (2018.7) Requirement already satisfied: pyparsing>=2.0.2 in ./local/lib/python3.7/site-packages (from packaging->sphinx->sage-numerical-backends-gurobi) (2.3.0) Installing collected packages: sage-numerical-backends-gurobi Running setup.py install for sage-numerical-backends-gurobi ... error Complete output from command /Users/dcoudert/sage/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-install-t4k429rc/sage-numerical-backends-gurobi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/l8/sxf193t11mvdyqq56f4w_6_8gn/T/pip-record-sk9om1cp/install-record.txt --single-version-externally-managed --compile: Using GUROBI_HOME obtained from gurobi.sh: GUROBI_HOME is not set, or it does not point to a directory with a Gurobi installation. Trying to link against -lgurobi Checking whether HAVE_SAGE_CPYTHON_STRING... Checking whether HAVE_ADD_COL_UNTYPED_ARGS... Using compile_time_env: {'HAVE_SAGE_CPYTHON_STRING': True, 'HAVE_ADD_COL_UNTYPED_ARGS': True} running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi copying sage_numerical_backends_gurobi/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi copying sage_numerical_backends_gurobi/gurobi_backend.pxd -> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi running build_ext building 'sage_numerical_backends_gurobi.gurobi_backend' extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I/Users/dcoudert/sage/local/lib/python3.7/site-packages/cysignals -I/Users/dcoudert/sage/local/lib/python3.7/site-p