I use 64 bit Windows 10.
I downloaded glpk-4.64
for Windows. I unzipped the file to my documents. I added the w64 path in this folder to Windows' environment variables. I check if the glpk works in command line by executing this:
C:\Users\userz>glpsol
GLPSOL: GLPK LP/MIP Solver, v4.64
No input problem file specified; try glpsol --help
So I think glpk
is installed properly.
Then I install cvxopt
using this in command line:
python -m pip install cvxopt
Then it installs cvxopt
.
When I do:
import cvxopt.glpk
I get this error:
import cvxopt.glpk
ImportError: No module named glpk
So, how do I fix this?
Wheels for Windows: do not include any of the optional extensions
,so you need build from source. – Spannercvxopt.glpk
? – Contrabass