I am trying to find a way to tell which modules were originally shipped within a python version and which ones I have installed manually via pip-install.
Unfortunately I did not set up virtual environments for my projects and am now facing the problem to find out which modules I have to include if I want to deploy my project elsewhere (on another machine).
It is easy to parse the import / from x import z statements in the projects but then I would need to find out which of these do not come with a fresh python install.
It may be possible to back up the current python directory, download and install python from scratch and diff the folders. But - there must be a BetterWay (TM)?!
Thanks in advance!