{"action":"created","issue":{"url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/1","repository_url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi","labels_url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/1/comments","events_url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/1/events","html_url":"https://github.com/mkoeppe/sage-numerical-backends-gurobi/issues/1","id":548412355,"node_id":"MDU6SXNzdWU1NDg0MTIzNTU=","number":1,"title":"fatal error: 'gurobi_c.h' file not found","user":{"login":"dcoudert","id":15887391,"node_id":"MDQ6VXNlcjE1ODg3Mzkx","avatar_url":"https://avatars1.githubusercontent.com/u/15887391?v=4","gravatar_id":"","url":"https://api.github.com/users/dcoudert","html_url":"https://github.com/dcoudert","followers_url":"https://api.github.com/users/dcoudert/followers","following_url":"https://api.github.com/users/dcoudert/following{/other_user}","gists_url":"https://api.github.com/users/dcoudert/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoudert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoudert/subscriptions","organizations_url":"https://api.github.com/users/dcoudert/orgs","repos_url":"https://api.github.com/users/dcoudert/repos","events_url":"https://api.github.com/users/dcoudert/events{/privacy}","received_events_url":"https://api.github.com/users/dcoudert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2020-01-11T10:26:05Z","updated_at":"2020-01-12T17:11:21Z","closed_at":"2020-01-12T17:11:21Z","author_association":"NONE","body":"I have an error when trying to install the gurobi backend that is now a separate optional package.\r\nI followed the instructions for installing the gurobi backend with sage 9.1.beta0 and macOS Mojave 10.14.6.\r\nI have gurobi 8.11 and gurobi.sh is in my path (so no need to set GUROBI_HOME).\r\n(note that I successfully installed the cplex backend).\r\n\r\n```\r\nconfetti:sage dcoudert$ ./sage -python -m pip install sage-numerical-backends-gurobi\r\nCollecting sage-numerical-backends-gurobi\r\n  Downloading https://files.pythonhosted.org/packages/2c/5c/e1532bb6cde28cf86ebffd408ccb500d7b846bc29bbd1c5e479a2f18acb6/sage_numerical_backends_gurobi-9.0b12.tar.gz\r\nRequirement already satisfied: sphinx in ./local/lib/python3.7/site-packages (from sage-numerical-backends-gurobi) (1.8.5)\r\nRequirement already satisfied: six>=1.5 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.12.0)\r\nRequirement already satisfied: Jinja2>=2.3 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.10)\r\nRequirement already satisfied: Pygments>=2.0 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.3.1)\r\nRequirement already satisfied: docutils>=0.11 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (0.14)\r\nRequirement already satisfied: snowballstemmer>=1.1 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.2.1)\r\nRequirement already satisfied: babel!=2.0,>=1.3 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.6.0)\r\nRequirement already satisfied: alabaster<0.8,>=0.7 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (0.7.12)\r\nRequirement already satisfied: imagesize in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.1.0)\r\nRequirement already satisfied: requests>=2.0.0 in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (2.13.0)\r\nRequirement already satisfied: setuptools in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (40.6.3)\r\nRequirement already satisfied: packaging in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (18.0)\r\nRequirement already satisfied: sphinxcontrib-websupport in ./local/lib/python3.7/site-packages (from sphinx->sage-numerical-backends-gurobi) (1.1.0)\r\nRequirement already satisfied: MarkupSafe>=0.23 in ./local/lib/python3.7/site-packages (from Jinja2>=2.3->sphinx->sage-numerical-backends-gurobi) (1.1.0)\r\nRequirement already satisfied: pytz>=0a in ./local/lib/python3.7/site-packages (from babel!=2.0,>=1.3->sphinx->sage-numerical-backends-gurobi) (2018.7)\r\nRequirement already satisfied: pyparsing>=2.0.2 in ./local/lib/python3.7/site-packages (from packaging->sphinx->sage-numerical-backends-gurobi) (2.3.0)\r\nInstalling collected packages: sage-numerical-backends-gurobi\r\n  Running setup.py install for sage-numerical-backends-gurobi ... error\r\n    Complete output from command /Users/dcoudert/sage/local/bin/python3 -u -c \"import setuptools, tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_80000gn/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_80000gn/T/pip-record-sk9om1cp/install-record.txt --single-version-externally-managed --compile:\r\n    Using GUROBI_HOME obtained from gurobi.sh:\r\n    GUROBI_HOME is not set, or it does not point to a directory with a Gurobi installation.  Trying to link against -lgurobi\r\n    Checking whether HAVE_SAGE_CPYTHON_STRING...\r\n    Checking whether HAVE_ADD_COL_UNTYPED_ARGS...\r\n    Using compile_time_env: {'HAVE_SAGE_CPYTHON_STRING': True, 'HAVE_ADD_COL_UNTYPED_ARGS': True}\r\n    running install\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.macosx-10.9-x86_64-3.7\r\n    creating build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi\r\n    copying sage_numerical_backends_gurobi/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi\r\n    copying sage_numerical_backends_gurobi/gurobi_backend.pxd -> build/lib.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi\r\n    running build_ext\r\n    building 'sage_numerical_backends_gurobi.gurobi_backend' extension\r\n    creating build/temp.macosx-10.9-x86_64-3.7\r\n    creating build/temp.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi\r\n    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-packages/sage/cpython -I/Users/dcoudert/sage/local/include -I/Users/dcoudert/sage/local/lib/python3.7/site-packages -I/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/ext -I/Users/dcoudert/sage/local/include/python3.7m -I/Users/dcoudert/sage/local/lib/python3.7/site-packages/numpy/core/include -I/Users/dcoudert/sage/local/include/python3.7m -c sage_numerical_backends_gurobi/gurobi_backend.c -o build/temp.macosx-10.9-x86_64-3.7/sage_numerical_backends_gurobi/gurobi_backend.o\r\n    sage_numerical_backends_gurobi/gurobi_backend.c:629:10: fatal error: 'gurobi_c.h' file not found\r\n    #include \"gurobi_c.h\"\r\n             ^~~~~~~~~~~~\r\n    1 error generated.\r\n    error: command 'clang' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/Users/dcoudert/sage/local/bin/python3 -u -c \"import setuptools, tokenize;__file__='/private/var/folders/l8/sxf193t11mvdyqq56f4w_6_80000gn/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_80000gn/T/pip-record-sk9om1cp/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /private/var/folders/l8/sxf193t11mvdyqq56f4w_6_80000gn/T/pip-install-t4k429rc/sage-numerical-backends-gurobi/\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/comments/573436183","html_url":"https://github.com/mkoeppe/sage-numerical-backends-gurobi/issues/1#issuecomment-573436183","issue_url":"https://api.github.com/repos/mkoeppe/sage-numerical-backends-gurobi/issues/1","id":573436183,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MzQzNjE4Mw==","user":{"login":"mkoeppe","id":8345221,"node_id":"MDQ6VXNlcjgzNDUyMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/8345221?v=4","gravatar_id":"","url":"https://api.github.com/users/mkoeppe","html_url":"https://github.com/mkoeppe","followers_url":"https://api.github.com/users/mkoeppe/followers","following_url":"https://api.github.com/users/mkoeppe/following{/other_user}","gists_url":"https://api.github.com/users/mkoeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoeppe/subscriptions","organizations_url":"https://api.github.com/users/mkoeppe/orgs","repos_url":"https://api.github.com/users/mkoeppe/repos","events_url":"https://api.github.com/users/mkoeppe/events{/privacy}","received_events_url":"https://api.github.com/users/mkoeppe/received_events","type":"User","site_admin":false},"created_at":"2020-01-12T17:11:21Z","updated_at":"2020-01-12T17:11:21Z","author_association":"OWNER","body":"Great, thanks for testing!"}}
{"actor":{"display_login":"mkoeppe"}}