openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15969
Keystone Folsom-3 git based installation failure.
Hi-
I have downloaded the source code from https://launchpad.net/keystone/.
When I execute the command, " pip install -r tools/pip-requires ", I seeing
the following errors.
Please help me resolve the issue.
root@openstackController:/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2#
pip install -r tools/pip-requires
Downloading/unpacking pam==0.1.4 (from -r tools/pip-requires (line 2))
Cannot fetch index base URL http://pypi.python.org/simple/
Downloading pam-0.1.4.tar.gz
Running setup.py egg_info for package pam
Downloading/unpacking WebOb==1.0.8 (from -r tools/pip-requires (line 3))
Downloading WebOb-1.0.8.zip (194Kb): 194Kb downloaded
Running setup.py egg_info for package WebOb
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Downloading/unpacking eventlet (from -r tools/pip-requires (line 4))
Downloading eventlet-0.9.17.tar.gz (262Kb): 262Kb downloaded
Running setup.py egg_info for package eventlet
Downloading/unpacking greenlet (from -r tools/pip-requires (line 5))
Downloading greenlet-0.4.0.zip (72Kb): 72Kb downloaded
Running setup.py egg_info for package greenlet
Downloading/unpacking PasteDeploy (from -r tools/pip-requires (line 6))
Downloading PasteDeploy-1.5.0.tar.gz
Running setup.py egg_info for package PasteDeploy
Downloading/unpacking paste (from -r tools/pip-requires (line 7))
Downloading Paste-1.7.5.1.tar.gz (523Kb): 523Kb downloaded
Running setup.py egg_info for package paste
warning: no previously-included files matching '*' found under
directory 'docs/_build/_sources'
Downloading/unpacking routes (from -r tools/pip-requires (line 8))
Downloading Routes-1.13.tar.gz (797Kb): 797Kb downloaded
Running setup.py egg_info for package routes
warning: no previously-included files matching '.DS_Store' found
anywhere in distribution
warning: no previously-included files matching '*.hgignore' found
anywhere in distribution
warning: no previously-included files matching '*.hgtags' found
anywhere in distribution
Downloading/unpacking sqlalchemy (from -r tools/pip-requires (line 9))
Downloading SQLAlchemy-0.7.8.tar.gz (2.6Mb): 2.6Mb downloaded
Running setup.py egg_info for package sqlalchemy
warning: no files found matching '*.jpg' under directory 'doc'
no previously-included directories found matching 'doc/build/output'
Downloading/unpacking sqlalchemy-migrate (from -r tools/pip-requires (line
10))
Downloading sqlalchemy-migrate-0.7.2.tar.gz (105Kb): 105Kb downloaded
Running setup.py egg_info for package sqlalchemy-migrate
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*pyc' found anywhere in
distribution
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files matching '*' found under
directory 'docs/_build'
Downloading/unpacking passlib (from -r tools/pip-requires (line 11))
Downloading passlib-1.6.1.tar.gz (395Kb): 395Kb downloaded
Running setup.py egg_info for package passlib
warning: no files found matching 'passlib/*.cfg'
no previously-included directories found matching '*.komodoproject'
Requirement already satisfied (use --upgrade to upgrade): lxml in
/usr/lib/python2.7/dist-packages (from -r tools/pip-requires (line 12))
Downloading/unpacking iso8601>=0.1.4 (from -r tools/pip-requires (line 13))
Downloading iso8601-0.1.4.tar.gz
Running setup.py egg_info for package iso8601
Downloading/unpacking repoze.lru>=0.3 (from routes->-r tools/pip-requires
(line 8))
Downloading repoze.lru-0.6.tar.gz
Running setup.py egg_info for package repoze.lru
Downloading/unpacking decorator (from sqlalchemy-migrate->-r
tools/pip-requires (line 10))
Downloading decorator-3.3.3.tar.gz
Running setup.py egg_info for package decorator
warning: no previously-included files found matching 'Makefile'
Downloading/unpacking Tempita>=0.4 (from sqlalchemy-migrate->-r
tools/pip-requires (line 10))
Downloading Tempita-0.5.1.tar.gz
Running setup.py egg_info for package Tempita
Requirement already satisfied (use --upgrade to upgrade): distribute in
/usr/lib/python2.7/dist-packages (from sqlalchemy-migrate->-r
tools/pip-requires (line 10))
Installing collected packages: pam, WebOb, eventlet, greenlet, PasteDeploy,
paste, routes, sqlalchemy, sqlalchemy-migrate, passlib, iso8601,
repoze.lru, decorator, Tempita
Found existing installation: PAM 0.4.2
Uninstalling PAM:
Successfully uninstalled PAM
Running setup.py install for pam
Running setup.py install for WebOb
no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'
Running setup.py install for eventlet
Running setup.py install for greenlet
building 'greenlet' extension
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
In file included from greenlet.c:5:0:
* *greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
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:
running install
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-x86_64-2.7
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
In file included from greenlet.c:5:0:
greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
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
Storing complete log in /root/.pip/pip.log
root@openstackController:/home/localadmin/Desktop/openstackfolsom3/keystone-2012.2#
--
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130
Follow ups