Skip to content

Facing issue with pretty table and python 2.7.  #202

@sachintaware

Description

@sachintaware

This seems to be an old repo and not sure if amazon glacier cmd is supported. The documentation seems to have only aws cli method to communicate with glacier. This by default takes python 2.7 and gives error with pretty table. Tried installing pretty table and still does not work. Can we force using python 3.8 ? As that is the version seems to work with pretty table or can the below error be resolved?

Traceback (most recent call last):
  File "/usr/local/bin/glacier-cmd", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prettytable' distribution was not found and is required by glacier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions