1

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.

1

1 Answer 1

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.