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

22 views
Skip to first unread message

psu...@googlecode.com

unread,
Dec 2, 2013, 8:22:20 PM12/2/13
to psutil-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium OpSys-Linux 64bit Compatibility

New issue 449 by isisgrim...@gmail.com: All psutil versions fail to install
for Python2.6 on Debian 64-bit systems
http://code.google.com/p/psutil/issues/detail?id=449

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.


Attachments:
TICKET-psutil-python2.6-psutil1.0.1 3.1 KB
TICKET-psutil-python2.6-psutil1.2.1 2.8 KB
TICKET-psutil-python2.7-psutil1.2.1 1.6 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

psu...@googlecode.com

unread,
Dec 3, 2013, 2:17:23 AM12/3/13
to psutil-...@googlegroups.com
Updates:
Status: Invalid

Comment #1 on issue 449 by g.rodola: All psutil versions fail to install
for Python2.6 on Debian 64-bit systems
http://code.google.com/p/psutil/issues/detail?id=449

> 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.

psu...@googlecode.com

unread,
Sep 10, 2014, 3:58:24 PM9/10/14
to psutil-...@googlegroups.com

Comment #2 on issue 449 by julie.la...@gmail.com: All psutil versions fail
to install for Python2.6 on Debian 64-bit systems
https://code.google.com/p/psutil/issues/detail?id=449

yum install python-devel
Reply all
Reply to author
Forward
0 new messages