Hello all,

I recently heard about PUDB, and would like to try it out. Installing via pip 
and easy_install both failed, though. I'm running Ubuntu 12.10, with python 
version 2.7.3:

LIFE\brendenb@brendenb-ubuntu:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2

Here's the error message from pip:

brendenb@brendenb-ubuntu:~$ sudo pip install pudb
Requirement already satisfied (use --upgrade to upgrade): pudb in 
/usr/local/lib/python2.7/dist-packages/pudb-2012.3-py2.7.egg
Downloading/unpacking urwid>=0.9.9.2 (from pudb)
  Running setup.py egg_info for package urwid

Requirement already satisfied (use --upgrade to upgrade): pygments>=1.0 in 
/usr/local/lib/python2.7/dist-packages/Pygments-1.6-py2.7.egg (from pudb)
Installing collected packages: urwid
  Running setup.py install for urwid
    building 'urwid.str_util' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/str_util.c -o 
build/temp.linux-x86_64-2.7/source/str_util.o
    source/str_util.c:25: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/likewise-open/LIFE/brendenb/build/urwid/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --single-version-externally-managed 
--record /tmp/pip-py4KsZ-record/install-record.txt:
    running install

running build

running build_py

running build_ext

building 'urwid.str_util' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/str_util.c -o 
build/temp.linux-x86_64-2.7/source/str_util.o

source/str_util.c:25:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Any suggestions on what to do?

Thanks,
Brenden
_______________________________________________
Pudb mailing list
[email protected]
http://lists.tiker.net/listinfo/pudb

Reply via email to