Hi-<br><br>I have downloaded the source code from <a href="https://launchpad.net/keystone/">https://launchpad.net/keystone/</a>. <br><br><br>When I execute the command, " pip install -r tools/pip-requires ", I seeing the following errors.<br>
<br>Please help me resolve the issue.<br><br><br><br>root@openstackController:/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2# pip install -r tools/pip-requires <br>Downloading/unpacking pam==0.1.4 (from -r tools/pip-requires (line 2))<br>
  Cannot fetch index base URL <a href="http://pypi.python.org/simple/">http://pypi.python.org/simple/</a><br>  Downloading pam-0.1.4.tar.gz<br>  Running setup.py egg_info for package pam<br>    <br>Downloading/unpacking WebOb==1.0.8 (from -r tools/pip-requires (line 3))<br>
  Downloading WebOb-1.0.8.zip (194Kb): 194Kb downloaded<br>  Running setup.py egg_info for package WebOb<br>    <br>    no previously-included directories found matching '*.pyc'<br>    no previously-included directories found matching '*.pyo'<br>
Downloading/unpacking eventlet (from -r tools/pip-requires (line 4))<br>  Downloading eventlet-0.9.17.tar.gz (262Kb): 262Kb downloaded<br>  Running setup.py egg_info for package eventlet<br>    <br>Downloading/unpacking greenlet (from -r tools/pip-requires (line 5))<br>
  Downloading greenlet-0.4.0.zip (72Kb): 72Kb downloaded<br>  Running setup.py egg_info for package greenlet<br>    <br>Downloading/unpacking PasteDeploy (from -r tools/pip-requires (line 6))<br>  Downloading PasteDeploy-1.5.0.tar.gz<br>
  Running setup.py egg_info for package PasteDeploy<br>    <br>Downloading/unpacking paste (from -r tools/pip-requires (line 7))<br>  Downloading Paste-1.7.5.1.tar.gz (523Kb): 523Kb downloaded<br>  Running setup.py egg_info for package paste<br>
    <br>    warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'<br>Downloading/unpacking routes (from -r tools/pip-requires (line 8))<br>  Downloading Routes-1.13.tar.gz (797Kb): 797Kb downloaded<br>
  Running setup.py egg_info for package routes<br>    <br>    warning: no previously-included files matching '.DS_Store' found anywhere in distribution<br>    warning: no previously-included files matching '*.hgignore' found anywhere in distribution<br>
    warning: no previously-included files matching '*.hgtags' found anywhere in distribution<br>Downloading/unpacking sqlalchemy (from -r tools/pip-requires (line 9))<br>  Downloading SQLAlchemy-0.7.8.tar.gz (2.6Mb): 2.6Mb downloaded<br>
  Running setup.py egg_info for package sqlalchemy<br>    <br>    warning: no files found matching '*.jpg' under directory 'doc'<br>    no previously-included directories found matching 'doc/build/output'<br>
Downloading/unpacking sqlalchemy-migrate (from -r tools/pip-requires (line 10))<br>  Downloading sqlalchemy-migrate-0.7.2.tar.gz (105Kb): 105Kb downloaded<br>  Running setup.py egg_info for package sqlalchemy-migrate<br>    <br>
    warning: no files found matching '*' under directory 'tests'<br>    warning: no previously-included files matching '*pyc' found anywhere in distribution<br>    warning: no previously-included files found matching '.hgtags'<br>
    warning: no previously-included files matching '*' found under directory 'docs/_build'<br>Downloading/unpacking passlib (from -r tools/pip-requires (line 11))<br>  Downloading passlib-1.6.1.tar.gz (395Kb): 395Kb downloaded<br>
  Running setup.py egg_info for package passlib<br>    <br>    warning: no files found matching 'passlib/*.cfg'<br>    no previously-included directories found matching '*.komodoproject'<br>Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from -r tools/pip-requires (line 12))<br>
Downloading/unpacking iso8601>=0.1.4 (from -r tools/pip-requires (line 13))<br>  Downloading iso8601-0.1.4.tar.gz<br>  Running setup.py egg_info for package iso8601<br>    <br>Downloading/unpacking repoze.lru>=0.3 (from routes->-r tools/pip-requires (line 8))<br>
  Downloading repoze.lru-0.6.tar.gz<br>  Running setup.py egg_info for package repoze.lru<br>    <br>Downloading/unpacking decorator (from sqlalchemy-migrate->-r tools/pip-requires (line 10))<br>  Downloading decorator-3.3.3.tar.gz<br>
  Running setup.py egg_info for package decorator<br>    <br>    warning: no previously-included files found matching 'Makefile'<br>Downloading/unpacking Tempita>=0.4 (from sqlalchemy-migrate->-r tools/pip-requires (line 10))<br>
  Downloading Tempita-0.5.1.tar.gz<br>  Running setup.py egg_info for package Tempita<br>    <br>Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate->-r tools/pip-requires (line 10))<br>
Installing collected packages: pam, WebOb, eventlet, greenlet, PasteDeploy, paste, routes, sqlalchemy, sqlalchemy-migrate, passlib, iso8601, repoze.lru, decorator, Tempita<br>  Found existing installation: PAM 0.4.2<br>    Uninstalling PAM:<br>
      Successfully uninstalled PAM<br>  Running setup.py install for pam<br>    <br>  Running setup.py install for WebOb<br>    <br>    no previously-included directories found matching '*.pyc'<br>    no previously-included directories found matching '*.pyo'<br>
  Running setup.py install for eventlet<br>    <br>  Running setup.py install for greenlet<br>    building 'greenlet' extension<br>    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o<br>
    In file included from greenlet.c:5:0:<br>   <u><b> </b></u>greenlet.h:8:20: fatal error: Python.h: No such file or directory<br>    compilation terminated.<br>    error: command 'gcc' failed with exit status 1<br>
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-09WNsV-record/install-record.txt:<br>
    running install<br><br>running build<br><br>running build_ext<br><br>building 'greenlet' extension<br><br>creating build<br><br>creating build/temp.linux-x86_64-2.7<br><br>gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-x86_64-2.7/greenlet.o<br>
<br>In file included from greenlet.c:5:0:<br><br>greenlet.h:8:20: fatal error: Python.h: No such file or directory<br><br>compilation terminated.<br><br>error: command 'gcc' failed with exit status 1<br><br>----------------------------------------<br>
Command /usr/bin/python -c "import setuptools;__file__='/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-09WNsV-record/install-record.txt failed with error code 1<br>
Storing complete log in /root/.pip/pip.log<br>root@openstackController:/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2# <br><br><br><br><br clear="all"><br>-- <br>Regards,<br>----------------------------------------------<br>
Trinath Somanchi,<div>+91 9866 235 130</div><br>