Manage python environments properly