pip install mysql-connector-python-rf==2.2.2

安装包的时候提示错误信息:error:option--single-version-externally-managednotrecognized

原因可能是你的安装包是wheel格式的安装包,如果你的电脑上没有安装wheel的话就会报这个错误。

我自己是这么解决的:首先安装wheel:

pip install wheel

然后再用pip安装我想要包:

pip install mysql-connector-python-rf==2.2.2

相关文章: