I need to list all the installed packages for python, but the problem is that I have multiple versions of python and anaconda installed in my computer and I can't delete them and keep only one version.
So is there a way to list all installed packages/modules and in which version of python they are installed?
I used this command pip list
but it only lists the installed packages and their versions.
foe example:
scapy python 3.5
pyinstaller python 2.7
I found this command python-which <package name>
; How to retrieve a module's path?; but it says bash: python-which: command not found