All,

I'm new to this harness and OpenStack in general, I've started with
Quantum (being from Cisco) and will start with unit-tests.

So branching this branch,
https://code.launchpad.net/~netstack/quantum/quantum-unit-tests,  as my
"trunk", I try simply running "./run_tests.sh" to make sure it's working
as-is before I start hacking.

 

But I don't have a module called "greenlet", so I tried the following
and failed. Does this have something to do with the virtual environment
that I'm running run_tests.sh from?

danielmo@ubuntu:~/src/quantum-unit-tests/trunk$ pip install greenlet

Downloading/unpacking greenlet

  Downloading greenlet-0.3.1.tar.gz

  Running setup.py egg_info for package greenlet

    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'repository'

      warnings.warn(msg)

    

Installing collected packages: greenlet

  Running setup.py install for greenlet

    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'repository'

      warnings.warn(msg)

    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:11: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/danielmo/src/quantum-unit-tests/trunk/build/g
reenlet/setup.py';execfile(__file__)" install
--single-version-externally-managed --record
/tmp/pip-95ZPZ4-record/install-record.txt:

    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'repository'

 

  warnings.warn(msg)

 

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:11: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/danielmo/src/quantum-unit-tests/trunk/build/g
reenlet/setup.py';execfile(__file__)" install
--single-version-externally-managed --record
/tmp/pip-95ZPZ4-record/install-record.txt failed with error code 1

Storing complete log in /home/danielmo/.pip/pip.log

 

Thanks,

Dan Moore
Datacenter System Engineer

Systems Development Organization

Core Technology Group

danie...@cisco.com, RTP10S-2E0702

 

-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to