python2 get pip directory code example Example: install to current directory pip pip install <package-name> -t .