python模块build失败解决方法 #4

Closed
hitalex opened this Issue Mar 26, 2012 · 2 comments

Projects

None yet

3 participants

@hitalex
hitalex commented Mar 26, 2012

在maxent的C++模块build完之后,运行python setup.py build出错,错误原因为:找不到Python.h文件。
解决方法:sudo apt-get install python-dev
希望作者将此说明加入到doc中。谢谢!

@yurap
yurap commented Oct 28, 2012

Wow. Thanks a lot (and thank you google.translate :)
In case somebody doesn't know chineese (I expirienced same problem):

If you get an error while running "$ python setup.py build" command and it says smth about you not having a Python.h file.
Than try running a "sudo apt-get install python-dev". Helped me.

I think this info should go to README.

@lzhang10 lzhang10 pushed a commit that referenced this issue Jul 9, 2015
Le Zhang Improve README for issue #4 7e9fbe0
@lzhang10
Owner
lzhang10 commented Jul 9, 2015

Updated python/README for issue #4

@lzhang10 lzhang10 closed this Jul 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment