![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Error
_不积跬步无以至千里
这个作者很懒,什么都没留下…
展开
-
Python NameError: name 'requests' is not defined
遇见情景:mac os 系统,Python小白,想起一个Python项目,引入 requests 库时,后台报错显示 " NameError: name 'requests' is not defined " 解决方法://install requests pip install requests延展:报错command not found: pip ,查看https://...原创 2018-11-21 11:51:41 · 23735 阅读 · 0 评论 -
python安装pip, 报错command not found: pip
遇见情景: mac os 系统执行:pip install requests报错:command not found: pip解决办法:(运行Python的安装工具,安装pip)sudo easy_install pip输入管理密码,等待下载好,即可安装成功后最后会显示Installed /Library/Python/2.7/site-packages/pip-9....原创 2018-11-21 12:16:07 · 22487 阅读 · 0 评论 -
安装pip报错,No local packages or download links found for pip
情景: 安装pip报错No local packages or download links found for pip这是因为pip版本太旧了,需要升级到9.0.3版本。或者是因为pip路径放的不对,找不到地方,解决方法:(安装下面3步)curl 'https://bootstrap.pypa.io/get-pip.py' > get-pip.pysudo pytho...原创 2018-11-21 12:36:09 · 12914 阅读 · 0 评论