Installing Lpsolve in Python27

∥☆過路亽.° 提交于 2019-12-25 01:44:43

问题


I`m trying install

lp_solve_5.5.0.15_source.tar.gz & lp_solve_5.5.0.15_Python_source.tar.gz

in pyhton27 using windows.

I keep facing problems, as below:

  1. problem of (vcvarsall.bat) - install MinGw (resolved)
  2. proiblem of (-mno-cygwin) - delete (-mno-cygwin) in file:cygwinccompiler.py (resolved)

In CMD, using "setup.py install build --compiler=mingw32" as command to install.

Till now, I found a strange problem which I cant found any documentation to resolve it.

after run the CMD command,

It appears:

running install

running build

running build_py

running build_ext

building 'lpsolve55' extension

....

....

....

gcc: error: in: No such file or directory

error: command 'gcc' failed with exit status 1

The question is i dont know the meaning of "in", It should appear some codes like “lp_lib.h” or whatever.

i really dont know the answer, and I hope that someone can help me.

THX.

Daren

来源:https://stackoverflow.com/questions/17072457/installing-lpsolve-in-python27

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!