Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qdwqq6wj/enum/

关于安装enum模块失败

看了很多博客,都说Python3带有enum,不用再安装,但是自己在

from enum inport Enum的时候总是报错 cannot import name 'Enum' from 'enum',最终发现,智障的自己把该py文件命名为enum.py!!!覆盖了原有的enum模块!!!折腾一早上,那个错误还是没解决,反正enum是可以用了。。。。。。

猜你喜欢

转载自blog.csdn.net/qq_36337680/article/details/88030374
今日推荐