Using Ubuntu desktop 64-bit 12.04
Any thoughts?
Here's a copy of what I did and what I got in response:
jonathan@ubuntu:$ virtualenv --never-download --system-site-packages env2
New python executable in env2/bin/python
Installing setuptools............done.
Installing pip...............done.
jonathan@ubuntu:$ cd env2
jonathan@ubuntu:/env2$ source bin/activate
(env2)jonathan@ubuntu:/env2$ pip install https://github.com/espeed/bulbs/tarball/master
Downloading/unpacking https://github.com/espeed/bulbs/tarball/master
Downloading master (165Kb): 165Kb downloaded
Running setup.py egg_info for package from https://github.com/espeed/bulbs/tarball/master
warning: no previously-included files matching '*~' found under directory '.'
warning: no previously-included files matching '*.pyc' found under directory '.'
no previously-included directories found matching '*/*/old'
no previously-included directories found matching '*/old'
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/local/lib/python2.7/dist-packages (from bulbs==0.3.3-20120715)
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7.2 in /usr/lib/python2.7/dist-packages (from bulbs==0.3.3-20120715)
Downloading/unpacking pyyaml>=3.10 (from bulbs==0.3.3-20120715)
Downloading PyYAML-3.10.zip (364Kb): 364Kb downloaded
Running setup.py egg_info for package pyyaml
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from bulbs==0.3.3-20120715)
Requirement already satisfied (use --upgrade to upgrade): pytz in /usr/local/lib/python2.7/dist-packages (from bulbs==0.3.3-20120715)
Downloading/unpacking ujson>=1.15 (from bulbs==0.3.3-20120715)
Downloading ujson-1.19.zip (191Kb): 191Kb downloaded
Running setup.py egg_info for package ujson
warning: no files found matching 'setup.y'
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==1.5 in /usr/lib/python2.7/dist-packages (from bulbs==0.3.3-20120715)
Installing collected packages: pyyaml, ujson, bulbs
Running setup.py install for pyyaml
checking if libyaml is compilable
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
compilation terminated.
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
Running setup.py install for ujson
building 'ujson' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./python/ujson.c -o build/temp.linux-x86_64-2.7/./python/ujson.o
In file included from ./python/ujson.c:34:0:
./python/py_defines.h:34:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /home/jonathan/env2/bin/python -c "import setuptools;file='/home/jonathan/env2/build/ujson/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-VHuK7N-record/install-record.txt --install-headers /home/jonathan/env2/include/site/python2.7:
running install
running build
running build_ext
building 'ujson' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/python
creating build/temp.linux-x86_64-2.7/lib
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./python -I./lib -I/usr/include/python2.7 -c ./python/ujson.c -o build/temp.linux-x86_64-2.7/./python/ujson.o
In file included from ./python/ujson.c:34:0:
./python/py_defines.h:34:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Command /home/jonathan/env2/bin/python -c "import setuptools;file='/home/jonathan/env2/build/ujson/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-VHuK7N-record/install-record.txt --install-headers /home/jonathan/env2/include/site/python2.7 failed with error code 1 in /home/jonathan/env2/build/ujson
Storing complete log in /home/jonathan/.pip/pip.log