安裝pymysql報錯:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\lenovo\a
ppdata\local\temp\pip-install-ypbeoo\pymysql\
解決辦法:
更新插件
python -m pip install --upgrade setupTools
python -m pip install --upgrade pip
速度過慢可修改為清華源:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple
更新完成再次安裝pymysql成功。