Glpk Err , Import Glpk Module Not Found
I am not able to Run glpk module based programs, on python 2.7.1 , Mac OS platform. I am not sure if glpk module is installed successfully. kindly help me, i am new to this.
Solution 1:
Maybe GLPK is trying to load "_glpkpi.so" but it can not find it, try to append this library to your path
import sys
sys.path.append('/usr/lib/python-support/python-glpk/python2.7')
Of course, you have to change '/usr/lib/python-support/python-glpk/python2.7' for the correct path of your "_glpkpi.so" file
best
Post a Comment for "Glpk Err , Import Glpk Module Not Found"