sagemath / sage-numerical-backends-gurobi

Gurobi mixed integer linear programming backend for SageMath. Source repository for https://pypi.org/project/sage-numerical-backends-gurobi/, can be installed on top of distributions providing SageMath. See also https://github.com/sagemath/sage-numerical-backends-cplex and https://github.com/sagemath/sage-numerical-backends-coin
GNU General Public License v2.0
6 stars 6 forks source link

Failed in installing with 'sage/numerical/backends/generic_backend.pxd' not found #10

Open Selinaheyiii opened 4 months ago

Selinaheyiii commented 4 months ago

When I try to use pip install to install sage-numerical-backends-gurobi, I encounter the following error:

Error compiling Cython file:

...

the Free Software Foundation, either version 2 of the License, or

(at your option) any later version.

https://www.gnu.org/licenses/

*****

from sage.numerical.backends.generic_backend cimport GenericBackend ^

sage_numerical_backends_coin/coin_backend.pxd::0: 'sage/numerical/backends/generic_backend.pxd' not found. I'm certain that sage.numerical.backends.generic_backend is present in the package. When installing sage-numerical-backends-coin, I encountered the same issue. How can I resolve this?