homebrew as my package manager. While installing
brew install python3 I am getting the following error
class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'
I've tried the steps outlined in homebrew Troubleshooting but the problem still exists. Any pointers would be helpful.