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

ModuleNotFoundError when using httpie #32

Open
pehbehbeh opened this issue Jun 23, 2021 · 2 comments
Open

ModuleNotFoundError when using httpie #32

pehbehbeh opened this issue Jun 23, 2021 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pehbehbeh
Copy link
Member

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 pehbehbeh added the bug Something isn't working label Jun 23, 2021
@pehbehbeh pehbehbeh added this to the Next Release milestone Jun 23, 2021
@pehbehbeh pehbehbeh self-assigned this Jun 23, 2021
@pehbehbeh pehbehbeh modified the milestones: Next Release, Backlog Jun 23, 2021
@pehbehbeh
Copy link
Member Author

There is an upstream issue on httpie: httpie/cli#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 added a commit that referenced this issue Jun 23, 2021
@pehbehbeh
Copy link
Member Author

This should be fixed. httpie/cli#1092 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant