pip install --install-option="--prefix=绝对路径" packageName
./configure --prefix=安装路径
一种是make install的时候指定路径
make install DESTDIR=安装路径