jucapj / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

All psutil versions fail to install for Python2.6 on Debian 64-bit systems #449

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. `pip install psutil` with Python2.6, any pip version, and any psutil version 
>=0.5.1 or <=1.2.1
2.
3.

What is the expected output?
A successful install.

What do you see instead?
See attached files for the results of a couple variations of Python/pip/psutil 
versions. No installation for Python2.6 whatsoever worked (there is no 
python2.6-dev or libpython2.6-dev package in the Debian repositories, and so 
the install fails due to missing the "Python.h" header file for Python2.6).

Python2.7 works fine.

What version of psutil are you using? What Python version?
Tested with psutil versions 0.5.1, 1.0.1, and 1.2.1, all on Python2.6 with 
pip-1.4.1 and pip-1.3.1. Some of the testing was done in virtualenvs, other 
testing was done with system-installed python and pip binaries.

On what operating system? Is it 32bit or 64bit version?
Mostly Debian, 64bit.

Please provide any additional information below.

Original issue reported on code.google.com by isisgrim...@gmail.com on 3 Dec 2013 at 1:22

Attachments:

GoogleCodeExporter commented 8 years ago
> psutil/_psutil_linux.c:13:20: fatal error: Python.h: No such file or directory
>  #include <Python.h>

This means you need to install Python headers. On Debian:

$ apt-get install python-dev

Closing.

Original comment by g.rodola on 3 Dec 2013 at 7:17

GoogleCodeExporter commented 8 years ago
yum install python-devel

Original comment by julie.la...@gmail.com on 10 Sep 2014 at 7:58