question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'enum'

See original GitHub issue

I install Homebrew at $HOME/homebrew.

$ brew install httpie
$ http --debug
Traceback (most recent call last):
  File "/Users/hillma/homebrew/bin/http", line 4, in <module>
    import re
  File "/Users/hillma/homebrew/Cellar/httpie/0.9.9/libexec/lib/python3.6/re.py", line 122, in >><module>
    import enum
ModuleNotFoundError: No module named 'enum'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
iansinnottcommented, May 31, 2017

Perhaps not ideal, but I was able to get it to work by bypassing brew all together and using the pip install instructions:

https://github.com/jakubroztocil/httpie#23windows-etc

0reactions
xxKeith20xxcommented, Sep 1, 2019

Had the same issue on debian 10 - testing. Ran a sudo apt install --reinstall httpie and saw it work fine after. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named enum - python - Stack Overflow
The problem is that the enum package wasn't added to Python until version 3.4. It has been backported to versions 3.3, 3.2, 3.1,...
Read more >
How to fix Python 'ImportError: No module named enum'
Solution: The enum module is only available in Python 3! You are trying to use it in Python 2.
Read more >
ImportError: No module named enum on python 2.7 #16
I installed llvmlite in a virtual environment with pip install -e git+https://github.com/numba/llvmlite.git#egg=llvmlite But then an import ...
Read more >
ModuleNotFoundError: No module named 'enums'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'enums' How to remove the ModuleNotFou.
Read more >
ImportError: No module named enum on python 2.7 - iTecNote
I'm running a code with Python 2.7. And I get "ImportError: No module named enum". I installed enum with "pip install enum" but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found