Skip to content

Commit 0998e6e

Browse files
committed
Merge pull request #112 from stemid/patch-1
known issue on RedHat-base distros
2 parents 5eb1bd0 + 6d1388e commit 0998e6e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/quickstart.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,36 @@ You can upgrade to the latest release with:
2121
2222
Then install :ref:`bash_completion`.
2323

24+
Known issue on RHEL/CentOS/Fedora
25+
---------------------------------
26+
27+
For all RedHat-based distros there might be an issue with starting tmuxp.
28+
29+
$ tmuxp
30+
Traceback (most recent call last):
31+
File "/usr/bin/tmuxp", line 5, in <module>
32+
from pkg_resources import load_entry_point
33+
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
34+
working_set.require(__requires__)
35+
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
36+
needed = self.resolve(parse_requirements(requirements))
37+
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
38+
raise DistributionNotFound(req)
39+
pkg_resources.DistributionNotFound: argparse
40+
41+
Try upgrading setuptools, has been proven to solve the problem on Fedora 22, CentOS 7 and RHEL 6.
42+
43+
sudo pip install -U setuptools
44+
45+
Can be tested in the Python REPL like this.
46+
47+
>>> import pkg_resources
48+
>>> pkg_resources.get_distribution('argparse')
49+
argparse 1.3.0 (/usr/lib/python2.6/site-packages)
50+
51+
The above operation would give the same exception (DistributionNotFound) before setuptools was upgraded.
52+
53+
2454
CLI
2555
---
2656

0 commit comments

Comments
 (0)