Issue #131: Installing with pip fails: Python headers are required to build Mercurial but weren't found (conservancy/kallithea)

kaefert issues-reply at bitbucket.org
Tue May 5 09:52:39 EDT 2015


New issue 131: Installing with pip fails: Python headers are required to build Mercurial but weren't found
https://bitbucket.org/conservancy/kallithea/issue/131/installing-with-pip-fails-python-headers

kaefert:

Hi there! I'm trying to install Kallithea on a Centos 6.6 server.

I've installed:
yum install git mercurial python-pip python-pbr
(btw. it would be nice if the `python-pbr` requirement could be mentioned in http://docs.kallithea-scm.org/en/latest/overview.html )

pip install kallithea
now does fail for me with this error:


```
  Downloading/unpacking mercurial>=2.9,<3.4 (from kallithea)
  Downloading mercurial-3.4-rc.tar.gz (4.3MB): 4.3MB downloaded
  Running setup.py egg_info for package mercurial
    Python headers are required to build Mercurial but weren't found in /usr/include/python2.6/Python.h
    Complete output from command python setup.py egg_info:
    running egg_info

creating pip-egg-info/mercurial.egg-info

writing pip-egg-info/mercurial.egg-info/PKG-INFO

writing top-level names to pip-egg-info/mercurial.egg-info/top_level.txt

writing dependency_links to pip-egg-info/mercurial.egg-info/dependency_links.txt

writing manifest file 'pip-egg-info/mercurial.egg-info/SOURCES.txt'

warning: manifest_maker: standard file '-c' not found

Python headers are required to build Mercurial but weren't found in /usr/include/python2.6/Python.h
```
I don't know how to work around it. please help.




More information about the kallithea-general mailing list