change directory for pip install code example Example: how to pip install in folder pip install --target=d:\somewhere\other\than\the\default package_name