python install package in local directory code example Example: install python package at a particular location pip install -t lib/ <library_name>