-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cglpk cython compile error #138
Comments
Hello! To help debug this, can you let me know:
|
I'm sorry for the lack of information-- I was first just wondering if it was a simple syntax error that might be easily reproducible. I'm using Debian 7, Cython version 0.15.1, and GLPK v.4.45-- both installed through the package manager. I've never had any trouble using glpk with cobra before. |
My suggestion is to update Cython. I use version 0.21.2 |
Ok, I just updated to Cython 0.19.1 through Debian stable backports and that solved the problem. Thanks for your prompt help! |
No problem. |
* Update Instructions * Handle old versions of Cython, which caused issue #138
Hi,
I tried to install the latest version via pip and I get a compiler error on the cython file. When I run cobra after this installation, only glpk is in
cobra.solvers
(not cglpk).Downloading cobra-0.3.0.tar.gz (2.3Mb): 2.3Mb downloaded
Running setup.py egg_info for package cobra
Do you also see this problem? I was getting this error before, but I needed QSOpt to work, so I had written my own interface to that solver using the regular glpk bindings.
The text was updated successfully, but these errors were encountered: