Update doc with installation issue on Redhat/FC/Centos

This commit is contained in:
Nicolargo 2016-03-24 18:10:50 +01:00
parent bceb7cfc54
commit f065c0d847

View File

@ -223,6 +223,28 @@ Puppet
You can install Glances using ``Puppet``: https://github.com/rverchere/puppet-glances
Known issue on RHEL/CentOS/Fedora installation
==============================================
For Python 2.6 RedHat-based distros there might be an issue with starting Glances:
```
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
workingset.require(_requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
```
Try upgrading setuptools, has been proven to solve the problem:
sudo pip install -U setuptools
Usage
=====