首页 » Code » Python

Python2.7使用enum报错解决方法

 

from enum import Enum type object has no attribute ‘getitem‘ #如果已经安装过enum #使用pip uninstall enum #然后 pip install enum34