I'm currently running Python 3.7 and also working in Visual Code through Anaconda, thus I have 2 separate install locations for modules. How can I look and see what Python modules are installed and what their current versions are?
Is there a way to do this without looking in the site-packages
library one-by-one?
For instance, I want to make sure pandas, pyinstaller, pyqt5, tkinter, and more are the both installed in each directory and both the same version.
EDIT - Not the same question as How can I get a list of locally installed Python modules?, as pip 10 has been updated and the code provided in the answer no longer works.