AttributeError: module 'enum' has no attribute 'IntFlag'
See original GitHub issuepython 3.6, dvc 0.40.1
on almost any command throws issue (warning?):
Failed to import the site module
Traceback (most recent call last):
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/site.py", line 541, in <module>
main()
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/site.py", line 522, in main
known_paths = addusersitepackages(known_paths)
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/site.py", line 282, in addusersitepackages
user_site = getusersitepackages()
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/site.py", line 258, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/site.py", line 248, in getuserbase
USER_BASE = get_config_var('userbase')
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/sysconfig.py", line 608, in get_config_var
return get_config_vars().get(name)
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/sysconfig.py", line 587, in get_config_vars
import _osx_support
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/_osx_support.py", line 4, in <module>
import re
File "/Users/philippk/anaconda3/envs/py36/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:24 (8 by maintainers)
Top Results From Across the Web
Why Python 3.6.1 throws AttributeError: module 'enum' has no ...
When ever I got this problem: AttributeError: module 'enum' has no attribute 'IntFlag'.
Read more >AttributeError: module 'enum' has no attribute 'IntFlag'
To solve the "AttributeError: module 'enum' has no attribute 'IntFlag'", uninstall the enum34 module by running pip uninstall -y enum34 in ...
Read more >Attributeerror: module 'enum' has no attribute 'intflag' ( Solved )
In most of the cases when you get the attributeerror: module 'enum' has no attribute 'intflag' error is when the enum34 module is...
Read more >AttributeError: module 'enum' has no attribute 'IntFlag'
to build the workspace. ... found one answer from github, it says this error is caused by enum34 , which is not support...
Read more >Module 'enum' Has No Attribute 'IntFlag' in Ansible Tower?
Why Am I Getting AttributeError: Module 'enum' Has No Attribute 'IntFlag' in Ansible Tower? Solution Verified - Updated December 1 2020 at ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @Casyfill !
Do you have
enum34
installed by any chance? You can check that withpip freeze | grep enum34
. If you do, please remove it, it is known to cause issues in many packages.pip uninstall -y enum34