问题描述:
在导入gevent库的时候,提示找不到greent模块。
ERROR: Cannot uninstall 'greenlet'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
没有找到合适的解决办法……
按照网上的说法的是版本不兼容不匹配,于是,我卸载了gevent库
pip3 uninstall gevent
卸载后再次重装gevent还是出现了报错……
于是决定卸载greentel,但是会发现greentel无法卸载
此时解决办法是,输入
pip3 install --ignore-installed greenlet
忽略软件包是否已经安装,覆盖已安装的文件。
再次安装gevent库就可以成功了。