I deleted a pip package with rm -rf
command thinking that the package will be removed. Now the package has been deleted but it still shows up in pip list<
site-packages
directory where pip is installing your packages.psycopg2
directory).pip install YOUR-PACKAGE