check in what directory a library is installed python code example Example: python global site packages python -m site