How can i install twilio package via pip?

[亡魂溺海] 提交于 2019-12-24 03:53:47

问题


I have Python 2.7.12 (64 bit) installed on my Windows machine. When I installed it, I added pip and the python.exe path. Now when I try to install Twilio with

pip install twilio

I get the error

pip is not recognized as an external or internal command

回答1:


Please include c:\python27\Scripts in SYSTEM PATH

Procedure to add c:\python27\Scripts to system path:

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables. In the Edit System Variable (or New System Variable) window, add c:\python27\Scripts to the value of the PATH environment variable.(don't delete the existing ones)

Assumption: hoping your installation drive is C

Once you have added it, please close all command prompts and open a new command prompt and try it

Or in a new command prompt, type below command

C:\Python27\Scripts\pip.exe install twilio

EDIT: If everything fails, try the below way:

Open command prompt, type "python -m pip install twilio" (without quotes).



来源:https://stackoverflow.com/questions/39060397/how-can-i-install-twilio-package-via-pip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!