pip install package to different location code example
Example 1: how to pip install in folder
pip install --target=d:\somewhere\other\than\the\default package_name
Example 2: install python package at a particular location
pip install -t lib/ <library_name>