在我的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做了这个过程,结果是一样的。在
如有任何帮助,我们将不胜感激。在
可能您的计算机中安装了多个版本的python,请尝试检查它安装到的目录
相关问题 更多 >
编程相关推荐