I'm trying to remove a package I apparently installed sometime ago (can't remember really) and I'm finding it harder than I thought it would be (the package's name is
inst_packgs = pip.get_installed_distributions()
inst_packgs_lst = ["%s" % (i.key) for i in inst_packgs]
pip search astropy
pip uninstall astropy
Cannot uninstall requirement astropy, not installed
Storing debug log for failure in /home/gabriel/.pip/pip.log
Answering my own question for completeness sake.
pyenv was installed in my system and it was set to a different version locally, which is why the package didn't show.