I checked the installed modules with help("modules")
I've tried uninstalling a module I did not want with pip uninstall somemodule, but I got this warning:
WARNING: Skipping somemodule as it is not installed.
In pip's documentation of pip uninstall it says in the description: Uninstall packages.
However in this answer it says that running pip uninstall somemodule will work.
Question:
Can
pipuninstall modules or only packages? I'm very confused.Will deleting the
.pyfile in its directory, completely uninstall it, or is it a bad practice?
EDIT:
I have 2 versions of python installed. I ran all commands in python 3.9.1
py --versiongivesPython 3.9.1, andpip --versiongivespip 21.0.1 from c:\...\python\python39\lib\site-packages\pip (python 3.9)
I've created a
venvat some point. I deleted the folder shortly after creating thevenv.
py -m pip uninstall somemodulealso did not work
somemoduleis theantigravitymodule that comes with python