Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
pkg_resources.DistributionNotFound: argparse on RHEL-based distros #111
Comments
|
This does seem to be a issue that exists. I have some a bit of digging, but not sure if it's a problem on tmuxp's end of things (or one of it's dependencies) or not. See also: elastic/curator#56 Does |
|
Yes it does @tony! Problem solved I think. I tried first to upgrade setuptools on Fedora 22, and tmuxp sprang to life. Then I tried on RHEL6 and same there, tmuxp started working. Thanks for your assistance. |
bulak
commented
Jul 9, 2015
|
Not sure if it's relevant but in your example pkg_resources is loaded from python2.6 where argparse does not exists, min version is 2.7. Upgrading should help with your probem, no? |
|
We should probably add something to the docs for Fedora / Redhat / CentOS users who may encounter this problem. A .. note:: in https://github.com/tony/tmuxp/blob/master/doc/quickstart.rst may be a good spot. @stemid Want to give it a shot? |
|
Fixed in #112 |
stemid commentedJul 9, 2015
This would seem like a bug in RHEL-based distros but all the fixes I've seen for this have been from package maintainers, and not from the distro.
I wish I knew what they did to fix it, or I would contribute. But I don't understand what the fix is, I can just see that several other packages run into this problem on RHEL-based distros.
I've tried on Fedora 22, CentOS 7 and RHEL 6.