第一次安装jupyter的时候,因为一些始终查不到的原因决定卸载重装,按照网上的教程,安装pip-autoremove,结果报错无法使用,查了很多解决方案也无效,最后在一个英文网站上找到可行的方法。
其实只需要将python安装目录的Scripts文件夹中的pip-autoremove.py文件转移到安装目录的lib文件夹即可。
即D:\Python3\Scripts\pip-autoremove.py -> D:\Python3\Lib\pip_autoremove.py
参考网站:https://stackoverflow.com/questions/74523001/modulenotfounderror-when-trying-to-use-pip-autoremove