Open zhmlcg opened 2 years ago
I have this issue too. I think it is related to a specific package - pywin32 - that throws errors when being uninstalled by pip-autoremove, but I may be mistaken.
I faced pretty much the same problem.
error code
The 'pywin32>=300; sys_platform == "win32" and platform_python_implementation != Distribution "PyPy"' not found and required by application
The proper pip-autoremove requires pywin32 but you end up running pip-autoremove jupyterlab
which removes pywin32 from pip. to fix it just reinstall pywin32 with pip install pywin32
and you're all set.
I installed pip-autoremove 0.10.1 (tresni/pip-autoremove) using command
pip3 install git+https://github.com/tresni/pip-autoremove.git
. Then, when I ranpip-autoremove
to tried to remove packagejupyterlab
together with all its dependent packages, I got the following error:I ran the
cmd
with Administrator privilege, so I have no idea why the permission error and how to fix this. Since tresni/pip-autoremove does not have Issues tab, I asked here. Thanks for your help.My environment:
PS, as a side question, do I have to reinstall
jupyterlab
to continue uninstalling its dependent packages successfully?