尝试在ubuntu机器上使用pip安装django-twilo 得到错误 参考doc
// Here is your sample JSON
String sampleJson = "{\n" +
"\"CategoryList\": [{\n" +
" \"MainCategory\": {\n" +
" \"Attribute_Name\": \"DIY\",\n" +
" \"Attribute_Value\": \"125\",\n" +
" \"StockKeepingunit\": null\n" +
" },\n" +
" \"SubCategory\": [{\n" +
" \"Attribute_Name\": \"126\",\n" +
" \"Attribute_Value\": \"Accessories\",\n" +
" \"StockKeepingunit\": null\n" +
" }, {\n" +
" \"Attribute_Name\": \"127\",\n" +
" \"Attribute_Value\": \"Garden\",\n" +
" \"StockKeepingunit\": null\n" +
" }, {\n" +
" \"Attribute_Name\": \"128\",\n" +
" \"Attribute_Value\": \"Tools\",\n" +
" \"StockKeepingunit\": null\n" +
" }]\n" +
"}, {\n" +
" \"MainCategory\": {\n" +
" \"Attribute_Name\": \"Gifts\",\n" +
" \"Attribute_Value\": \"133\",\n" +
" \"StockKeepingunit\": null\n" +
" },\n" +
" \"SubCategory\": [{\n" +
" \"Attribute_Name\": \"134\",\n" +
" \"Attribute_Value\": \"Decorative\",\n" +
" \"StockKeepingunit\": null\n" +
" }, {\n" +
" \"Attribute_Name\": \"135\",\n" +
" \"Attribute_Value\": \"Fathers day\",\n" +
" \"StockKeepingunit\": null\n" +
" }, {\n" +
" \"Attribute_Name\": \"138\",\n" +
" \"Attribute_Value\": \"Valentines Day\",\n" +
" \"StockKeepingunit\": null\n" +
" }]\n" +
"\n" +
"}],\n" +
"\"status\": {\n" +
" \"message\": \"Success\",\n" +
" \"result\": 1\n" +
"}}";
答案 0 :(得分:1)
你有一个错字。它是django-twilio
,而不是django-twillio
答案 1 :(得分:1)
正如您在doc中看到的那样,您应该使用的正确命令是
pip install django-twilio
而不是
pip install django-twillio
修改强>
要解决您的问题,您可以运行此命令
pip install -U setuptools
再次运行后
pip install django-twilio