Skip to content
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

CentOS-7 python provides python-argparse version >= python-argparse from synnefo repository. #394

Open
truatpasteurdotfr opened this issue May 11, 2017 · 0 comments

Comments

@truatpasteurdotfr
Copy link

Hi,

tested on the centos7 image provided on okeanos-global.grnet.gr

# cd /etc/yum.repos.d &&  curl -O http://download.opensuse.org/repositories/home:/GRNET:/synnefo/CentOS_7/home:GRNET:synnefo.repo
# yum install snf-image-creator
...
# /usr/bin/snf-image-creator
Traceback (most recent call last):
  File "/usr/bin/snf-image-creator", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
# yum install python-argparse
-> snf-image-creator works as expected

Cause:
python-argparse from home_GRNET_synnefo is version 1.2.1-6.2
but python-argparse is also provided by python...

# yum provides python-argparse
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
python-2.7.5-48.el7.x86_64 : An interpreted, interactive, object-oriented
                           : programming language
Repo        : file-base
Matched from:
Provides    : python-argparse = 2.7.5-48.el7 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant