Closed AJNOURI closed 8 years ago
Back to GNS3 1.3.12dev1 (install from git repo) No such issue
How psutil and GNS3 is installed?
Thanks for the report
Actually, it seems that I installed it through both pip and apt:
$ sudo pip freeze | grep util
docutils==0.12
ipython-genutils==0.1.0
psutil==3.2.2
$
$ apt-cache search psutil
psutils - PostScript document handling utilities
python-psutil - module providing convenience functions for managing processes
python3-psutil - module providing convenience functions for managing processes (Python3)
glances - CLI curses based monitoring tool
gpsbabel - GPS file conversion plus transfer to/from GPS units
page-crunch - PDF and PS manipulation for printing needs
By the way 1.4.0b4 installed in a virtualenv works fine:
virtualenv virt_env/gns341 --no-site-packages
cd virt_env/gns341
sudo pip3 install gns3-gui==1.4.0b4
sudo pip3 install gns3-server==1.4.0b4
We need psutil > 3.0.0
But versions from apt doesn't provide the correct version: http://packages.ubuntu.com/trusty/python/python3-psutil
On Mon, Nov 30, 2015 at 1:39 PM AJ NOURI notifications@github.com wrote:
Actually, it seems that I installed it through both pip and apt:
$ sudo pip freeze | grep util
docutils==0.12 ipython-genutils==0.1.0 psutil==3.2.2
$
$ apt-cache search psutil
psutils - PostScript document handling utilities python-psutil - module providing convenience functions for managing processes python3-psutil - module providing convenience functions for managing processes (Python3) glances - CLI curses based monitoring tool gpsbabel - GPS file conversion plus transfer to/from GPS units page-crunch - PDF and PS manipulation for printing needs
By the way 1.4.0b4 installed in a virtualenv works fine:
virtualenv virt_env/gns341 --no-site-packages cd virt_env/gns341 sudo pip3 install gns3-gui==1.4.0b4 sudo pip3 install gns3-server==1.4.0b4
— Reply to this email directly or view it on GitHub https://github.com/GNS3/gns3-server/issues/361#issuecomment-160618098.
Should we check psutil version and have an explicit error message?
I think we should probably check, sadly we can have the same issue with all the dependencies provided by apt.
I just add a check. We should promote the deb package instead of pypi for ubuntu
Environement:
When I add a cloud, I get the following error:
The same from python console:
According to psutils repository https://github.com/giampaolo/psutil/issues/626 Looks like method not available?