[pymprog] Installation Error
An easy and flexible mathematical programming environment for Python.
Brought to you by:
lanyjie
From: Seung Mo Gu <su...@gm...> - 2010-04-10 19:29:35
|
Hello! I tried installing pymathprog but ran into some errors. I'll try to be explicit in my installation procedure in case there was something I missed out or messed up on. Originally I had Python v2.6 but since the installation guide for pymathprog insisted 2.5.4 I uninstalled 2.6 for it. currently it is installed to the c: directory itself. I installed glpk from off the site and installed it to the Program Files directory. (I'm currently on a windows 7 machine and it by default suggests the Program Files (x86) directory but I installed it to the original one. After installing python and glpk, I downloaded the zip file and unzipped it. When running either of the installation files 2 error windows appeared. 1) "Could not set key value" with message "Python 2.5 glpk-0.3.3" or "Python 2.5 pymprog-0.4.2" depending on which install files you run 2) "Could not set key value" with message "C:\Python25\Removeglpk.exe" -u "C:\Python25\glpk-wininst.log" or " "C:\Python25\Removepymprog.exe" -u "C:\Python25\pymprog-wininst.log" again depending on which install files you run I don't get the error messages when i run both files as administrator. However when i "from pymprog import *" the idle shell displays the following error message: >>> from pymprog import * Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> from pymprog import * File "C:\Python25\lib\site-packages\pymprog.py", line 31, in <module> from glpk import LPX ImportError: DLL load failed: The specified module could not be found. >>> I'm not sure what I'm doing wrong. I did have glpk installed before along with gusek (an IDE for glpk). But even after uninstalling and reinstalling everything, I get the same message. Any help? |