ImportError:macpython2.7.10上没有名为enum的模块

2024-09-29 06:24:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经尝试在我的mac上安装enumenum34和{},但我无法将这些包导入我的代码或交互式shell中。 但我可以在pip freeze上找到这些软件包。在

基本上我想运行https://github.com/kcoley/gltf2usd。在

iMAC:Source JK$ pip install enum
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting enum
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages (from enum) (41.0.1)
Installing collected packages: enum
Successfully installed enum-0.4.7

^{pr2}$

Tags: pipof代码httpsgithubcommacpackages