# tf.sysconfig.get_lib

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/platform/sysconfig.py#L45-L53) |

Get the directory containing the TensorFlow framework library.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.sysconfig.get_lib`](https://www.tensorflow.org/api_docs/python/tf/sysconfig/get_lib)

<br />

    tf.sysconfig.get_lib()

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The directory as string. ||

<br />