1

I have recently upgraded several packages, like pandas, sklearn, in my python environment, via pip, and am now getting very different results. How can I retrieve a history of recent upgraded packages so I can try to track down why I am seeing a huge difference in accuracy in my model?

I have tried this answer:

import pip, os, time

for package in pip.get_installed_distributions():
    print ("%s: %s" % (package, time.ctime(os.path.getctime(package.location))))

But this seems to be giving me only the installed time, not the update time.

user
  • 2,015
  • 6
  • 22
  • 39
  • 1
    Possible duplicate of [See when packages were installed / updated using pip](https://stackoverflow.com/questions/24736316/see-when-packages-were-installed-updated-using-pip) – Pythonista Jun 03 '17 at 01:36

0 Answers0