Reinstall packages after  uninstallation in test
with_traceback only exists in Python 3