-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Probléme de psutil #125
Comments
A essayer:
|
Deja fait |
Peux tu nous retourner le résultat des commandes suivantes:
|
apt-cache show python-psutil Package: python-psutil glances -v pip install psutil() python -c "import psutil ; print psutil.version" |
Et:
|
Je ne connais pas trop github, quel est la syntaxe pour le code ?
|
4 espaces devant les lignes de code. tu peux nous renvoyer le ls -alF mais pour le chemin: /usr/local/lib/python2.7/dist-packages/ ? |
|
Je ne comprends pas pourquoi cela ne marche pas... Peux tu poster le contenu du fichier: /usr/local/bin/glances ainsi que le résultat de la commande:
|
|
J'ai exactement la même conf que toi et ca mache nickel sur ms deux machines... Essaye ca:
|
Je viens de tout désinstaller , pas encore fait ton pip install glances. Je viens de tester au cas ou :
Est ce normal ? |
Tu es dans une VM ou sur une machine physique ? |
Essaye avec la dernière version HEAD, cela corrigera peut être ton problème ! |
C'est une VM oui, tu ne m'as pas répondu au dessus, est ce normal ? |
tu peux supprimer ces fichier et refaire une installation depuis le HEAD (je n'ai pas encore publié la version qui doit corriger ton bug). |
Désolé mais je ne comprends pas ce que tu entends par "depuis le HEAD", c'est à dire avec les sources ? |
Oui depuis les sources directement. Avant donc que d'écrire, apprenez à penser. 2012/11/19 NourSs notifications@github.com
|
Ouaip, ça a fonctionné ! |
Cool :) |
Bonjour,
Voici le résultat sur ma debian 6 / x64 :
pip install psutil
Downloading/unpacking psutil
Downloading psutil-0.6.1.tar.gz (138Kb): 138Kb downloaded
Running setup.py egg_info for package psutil
Installing collected packages: psutil
Running setup.py install for psutil
building '_psutil_linux' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/_psutil_linux.so
building '_psutil_posix' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.linux-x86_64-2.7/_psutil_posix.so
Successfully installed psutil
Cleaning up...
11:32 root@simp # glances -v
PsUtil > 0.4.0 is needed. Glances cannot start.
()
On Ubuntu 12.04 or higher:
$ sudo apt-get install python-psutil
()
To install PsUtil using pip (as root):
pip install psutil
()
zsh: exit 1 glances -v
The text was updated successfully, but these errors were encountered: