python安装包提示error: option --single-version-externally-managed not recognized

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/TYLZVS007/article/details/70213924

mac使用命令:pip install mysql-connector-python-rf==2.1.3安装包的时候提示错误信息:

error: option --single-version-externally-managed not recognized


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

我自己是这么解决的:

首先安装wheel:pip install wheel

然后再用pip安装我想要包:pip install mysql-connector-python-rf==2.1.3

解决了我的问题:


猜你喜欢

转载自blog.csdn.net/TYLZVS007/article/details/70213924
今日推荐