Correct order of pip installation