title: How do I check if a python project's dependencies are available in v3.x as well as v2.7?
body: <p>I've got a project where I want to convert a bunch of python files from python 2.7 to 3, and before I get in too deep, I want to check if all their dependencies are available in both versions (e.g. numpy exists for both and would be fine).</p>
  <p>Usually when I'd do something like this, it would just be ~10 files and I could go through manually to check if they work, but here I have almost 50000 files, and I'm curious if there's an automatic way to check for dependencies and see if they work in both versions.</p>
  <p>One option might be to print all unique import statements and go through those, but if anyone knows of a better method or a package for this kind of thing, some tips would be appreciated.</p>