Try using pip-grep and arrays

fix typo

Fix some typos

Check versions

Fix typo

Refactor code for installing

Fix version checking

Fix local variable declaration

Add a print message on return

Some debugging

More debugging

More debugging

Remove old code

Fix pip-grep