sourceboat / deploy

Docker image to run remote commands via SSH.
https://hub.docker.com/r/sourceboat/deploy/
MIT License
6 stars 0 forks source link

ModuleNotFoundError when using httpie #32

Open pehbehbeh opened 3 years ago

pehbehbeh commented 3 years ago

In the most recent version 1.9.0 we get the following error when using httpie:

Traceback (most recent call last):
  File "/usr/bin/https", line 33, in <module>
    sys.exit(load_entry_point('httpie==2.4.0', 'console_scripts', 'https')())
  File "/usr/lib/python3.9/site-packages/httpie/__main__.py", line 10, in main
    from .core import main
  File "/usr/lib/python3.9/site-packages/httpie/core.py", line 13, in <module>
    from httpie.client import collect_messages
  File "/usr/lib/python3.9/site-packages/httpie/client.py", line 15, in <module>
    from httpie.plugins.registry import plugin_manager
  File "/usr/lib/python3.9/site-packages/httpie/plugins/registry.py", line 1, in <module>
    from httpie.plugins.manager import PluginManager
  File "/usr/lib/python3.9/site-packages/httpie/plugins/manager.py", line 5, in <module>
    from pkg_resources import iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'
pehbehbeh commented 3 years ago

There is an upstream issue on httpie: https://github.com/httpie/httpie/issues/1092

I will temporarily fix this by installing py3-setuptools.

I will leave this issue open as a reminder to uninstall it when this is fixed.

pehbehbeh commented 2 years ago

This should be fixed. https://github.com/httpie/httpie/issues/1092#issuecomment-915021418