I have already tested the following:
!pip freeze > requirements.txt --> saves all packages in the environment
pipreqs --> returns an empty file
I need a compilation of all imported packages with the corresponding version. How can I do this in Google Colab without getting all installed packages?