fixed a bug running pip in system env