Loki installing gcalcli

Discussion in 'Software & Applications' started by cedardoc, Oct 26, 2016.

Tags:
  1. cedardoc

    cedardoc Thread Starter
    Expand Collapse
    New Member

    Joined:
    Oct 26, 2016
    Messages:
    4
    Likes Received:
    0
    I followed these instructions:

    https://installion.co.uk/ubuntu/xenial/universe/g/gcalcli/install/index.html

    but get this error when I try to run it after install:

    Traceback (most recent call last):
    File "/usr/local/bin/gcalcli", line 4, in <module>
    __import__('pkg_resources').run_script('gcalcli==3.4.0', 'gcalcli')
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 834, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
    pkg_resources.ContextualVersionConflict: (oauth2client 1.4.12 (/usr/local/lib/python2.7/dist-packages/oauth2client-1.4.12-py2.7.egg), Requirement.parse('oauth2client<5.0.0dev,>=1.5.0'), set(['google-api-python-client']))

    Has anyone figured this out? I've tried installing the required oauth2client

    https://pypi.python.org/pypi/oauth2client/4.0.0

    ... but that doesn't help

    Any suggestions?
     
  2. Jorge R. Marín

    Jorge R. Marín
    Expand Collapse
    Member

    Joined:
    Sep 26, 2016
    Messages:
    5
    Likes Received:
    2
    I supposed you have checked the Requirements
    Python 2
    Google API Client Python 2 module
    dateutil Python 2 module
    gflags Python 2 module
    A love for the command line!
    https://github.com/insanum/gcalcli
     
  3. cedardoc

    cedardoc Thread Starter
    Expand Collapse
    New Member

    Joined:
    Oct 26, 2016
    Messages:
    4
    Likes Received:
    0
    Yup, I did all that. I don't know about **love** for the command line though, ha ha
     

Share This Page

Loading...