Why Python 3.6.1 throws AttributeError: module 'enum' has no attribute 'IntFlag'?

前端 未结 17 1081
无人共我
无人共我 2020-11-22 16:34

I just installed Python 3.6.1 for MacOS X

When I attempt to run the Console(or run anything with Python3), this error is thrown:

  AttributeError: mo         


        
17条回答
  •  感情败类
    2020-11-22 17:15

    When ever I got this problem:

    AttributeError: module 'enum' has no attribute 'IntFlag'

    simply first i run the command:

    unset PYTHONPATH 
    

    and then run my desired command then got success in that.

提交回复
热议问题