安装pymysql报错:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:userslenovoa
ppdatalocal emppip-install-ypbeoopymysql
解决办法:
更新插件
python -m pip install --upgrade setupTools
python -m pip install --upgrade pip
速度过慢可修改为清华源:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
更新完成再次安装pymysql成功。