在Python中安装Twilio模块的问题

2024-09-30 02:31:15 发布

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

在我的Mac中,我安装了python2.7.12,如果我在终端itpromp中输入命令“Python”,就可以正常工作了。另外,我有闲置安装,它也正常工作。在

现在我想安装Twilio模块,我做了[所有步骤][1]我运行“sudo easy_install Twilio”,结果是:

Searching for twilio
Best match: twilio 6.3.dev0
Processing twilio-6.3.dev0-py2.7.egg
twilio 6.3.dev0 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/site-packages/twilio-6.3.dev0-py2.7.egg
Processing dependencies for twilio
Finished processing dependencies for twilio

我想一切正常,但问题是当我运行命令“importtwilio”时,它说“ImportError:No module named twilio”

我也用pip做了这个过程,结果是一样的。在

如有任何帮助,我们将不胜感激。在


Tags: 模块install命令终端foreggmaceasy

热门问题