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

ImportError in version 1.1.0 on SL6 #138

Open
vbrik opened this issue Feb 7, 2018 · 1 comment
Open

ImportError in version 1.1.0 on SL6 #138

vbrik opened this issue Feb 7, 2018 · 1 comment

Comments

@vbrik
Copy link
Collaborator

vbrik commented Feb 7, 2018

pyglidein_client started failing on gzk-cm (SL6.7) after update to 1.1.0:

Traceback (most recent call last):
  File "/usr/bin/pyglidein_client", line 11, in <module>
    load_entry_point('pyglidein==1.1.0', 'console_scripts', 'pyglidein_client')()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2769, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2422, in load
    return self.resolve()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2428, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.6/site-packages/pyglidein/client.py", line 17, in <module>
    import pyglidein.client_metrics as client_metrics
  File "/usr/lib/python2.6/site-packages/pyglidein/client_metrics.py", line 7, in <module>
    from subprocess import check_output, STDOUT
ImportError: cannot import name check_output
@dsschult
Copy link
Collaborator

dsschult commented Feb 8, 2018

subprocess.check_output() is from python2.7. We can either use the older syntax, or just tell you to get a newer python (from cvmfs, possibly?).

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

2 participants