一: raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
错误:请求超时
重新安装,启用国内豆瓣源安装或者重输入命令
二:error: command 'cl.exe' failed: No such file or directory或者 ERROR: Failed building wheel for MySQL-python
之前我一直以为是这个错误,以为是缺少C语言的编译程序,也下载过Microsoft Visual C++ Build Tools什么的,
链接:https://pan.baidu.com/s/15uxYLUpcEt1vx4toILh5VA
提取码:rt7s
即使补全了全部编译程序,也就是配齐了环境,但还是会出现某些问题,包括我在安装scrapy框架的时候也出现过这个错误提示,但是我查找答案的时候,有些博客提醒了我,所以我便又往上翻了一下,找到了第一个错误,即下图
原因是python 3以上的版本因为不支持 mysqldb,支持的是pymysql,所以需要 pip install pymysql
所以使用命令成功安装 了mysql
也安装了mongodb