pip install to local directory code example
Example 1: how to pip install in folder
pip install --target=d:\somewhere\other\than\the\default package_name
Example 2: pip install local directory
pip install -e /path/to/local/package/dir
pip install --target=d:\somewhere\other\than\the\default package_name
pip install -e /path/to/local/package/dir