Use MiniConda for setting up dependencies

Replaces #2407