Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psutil does not work on easy_install-2.4 #85

Closed
giampaolo opened this issue May 23, 2014 · 5 comments
Closed

psutil does not work on easy_install-2.4 #85

giampaolo opened this issue May 23, 2014 · 5 comments

Comments

@giampaolo
Copy link
Owner

From [email protected] on April 22, 2010 18:47:56

I am using Linux, Mandriva 2009.1 x86_64.
The package psutil does not work on easy_install-2.4.
But it works with easy_install-2.6.

To reproduce:

$ sudo easy_install-2.4 psutil
>>> import psutil
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named psutil

To get it installed on python2.4 you need to install using .tar.gz but this 
is bad because when you add psutil as a dependency of your project you can 
not have such dependency solved automatically.

Original issue: http://code.google.com/p/psutil/issues/detail?id=85

@giampaolo
Copy link
Owner Author

From g.rodola on April 22, 2010 10:37:45

I can't reproduce this on Ubuntu 10.04 (output pasted below).
Can you please paste the complete output of "sudo easy_install-2.4 psutil"?


giampaolo@ubuntu:~$ easy_install
easy_install      easy_install-2.4  easy_install-2.6  
giampaolo@ubuntu:~$ sudo easy_install-2.4 psutil
[sudo] password for giampaolo: 
Searching for psutil
Reading http://pypi.python.org/simple/psutil/ Reading https://code.google.com/p/psutil/ Best match: psutil 0.1.3
Downloading http://psutil.googlecode.com/files/psutil-0.1.3.tar.gz Processing psutil-0.1.3.tar.gz
Running psutil-0.1.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-BFTQ7b/psutil-0.1.3/egg-dist-tmp-hmOLKl
warning: no files found matching 'MANIFEST'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.exe' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Adding psutil 0.1.3 to easy-install.pth file

Installed /usr/local/lib/python2.4/site-packages/psutil-0.1.3-py2.4.egg
Processing dependencies for psutil
Finished processing dependencies for psutil
giampaolo@ubuntu:~$ 
giampaolo@ubuntu:~$ 
giampaolo@ubuntu:~$ python2.4 -c "import psutil"
giampaolo@ubuntu:~$

@giampaolo
Copy link
Owner Author

From [email protected] on April 22, 2010 11:33:12

$ sudo easy_install-2.4 psutil
Searching for psutil>=0.1.3
Reading http://pypi.python.org/simple/psutil/ Reading https://code.google.com/p/psutil/ Best match: psutil 0.1.3
Downloading http://psutil.googlecode.com/files/psutil-0.1.3.tar.gz Processing psutil-0.1.3.tar.gz
Running psutil-0.1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-
yMuCXa/psutil-0.1.3/egg-dist-tmp-AxnJXy
warning: no files found matching 'MANIFEST'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.exe' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Adding psutil 0.1.3 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/psutil-0.1.3-py2.4.egg



>>> import psutils
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named psutils

Same thing happens if I define psutils as a dependency into the setup.py of my 
project.

And run:
$ sudo python2.4 setup.py install

@giampaolo
Copy link
Owner Author

From g.rodola on April 22, 2010 11:45:09

Why your output is different than mine?
These lines are missing:

Installed /usr/local/lib/python2.4/site-packages/psutil-0.1.3-py2.4.egg
Processing dependencies for psutil
Finished processing dependencies for psutil

Please paste the *exact* output of these commands:

> sudo easy_install-2.4 psutil
> ls /usr/lib/python2.4/site-packages/
> python -c "import psutil"

@giampaolo
Copy link
Owner Author

From g.rodola on June 15, 2010 05:50:54

If there are no further updates about this I'd close it as not reproducible.

@giampaolo
Copy link
Owner Author

From g.rodola on June 23, 2010 04:37:46

Status: CantReproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant