error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

安装 Django 时遇到如下的提示:
error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
安装所适应的 python-dev 或 python-devel 可以解决这个问题。

The following error was shown while I was installing Django.
error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
Installing your distribution's python-dev or python-devel package may solve this problem.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.