Gandi / gandi.cli

⚠ ARCHIVED - Command line interface to Gandi.net products using the public API
http://cli.gandi.net/
GNU General Public License v3.0
347 stars 62 forks source link

Import Error: The 'packaging.requirements' package is required; #297

Closed duub closed 4 years ago

duub commented 4 years ago

Hello, Using debian 10 & gandi.cli 1.5 I'm having this error:

Traceback (most recent call last):
  File "/home/duub/Development/gandi.cli/bin/gandi", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/home/duub/Development/gandi.cli/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 84, in <module>
    __import__('pkg_resources.extern.packaging.requirements')
  File "/home/duub/Development/gandi.cli/local/lib/python2.7/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
    "distribution.".format(**locals())
ImportError: The 'packaging.requirements' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

Any idea where the problem is?

duub commented 4 years ago

solution: set PATH /home/duub/.local/bin $PATH