# Installing Python Module on F5

**URL:** <https://community.f5.com/t/installing-python-module-on-f5/21032>\
**Category:** Technical Forums\
**Created:** [October 30, 2015, 7:01pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032 "2015-10-30T19:01:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitri\_Ch\_1425](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@Dmitri\_Ch\_1425](https://community.f5.com/u/Dmitri_Ch_1425)\
**Post date:** [October 30, 2015, 7:01pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032/1 "2015-10-30T19:01:20Z")

</div>

Hi,

I’ll need to add a python module to F5 devices (to write a custom health monitor). Before I proceed, I wanted to ask how F5 handles adding new python modules? and does it ‘survive’ BIGIP OS upgrades, or needed to be re-installed.

Thank you.

---

<div class="post-metadata">

**Author:** ![Brad\_Parker](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@Brad\_Parker](https://community.f5.com/u/Brad_Parker)\
**Post date:** [October 30, 2015, 7:12pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032/2 "2015-10-30T19:12:58Z")

</div>

The only thing that survives an upgrade lives in the /config directory. You will most likely have to re-install it.

---

<div class="post-metadata">

**Author:** ![Dmitri\_Ch\_1425](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@Dmitri\_Ch\_1425](https://community.f5.com/u/Dmitri_Ch_1425)\
**Post date:** [November 4, 2015, 8:50pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032/3 "2015-11-04T20:50:02Z")

</div>

Is there a guide/SOL describing how to install custom modules on an F5 device?

---

<div class="post-metadata">

**Author:** ![yingweizhao\_137](https://avatars.discourse-cdn.com/v4/letter/y/a587f6/32.png) [@yingweizhao\_137](https://community.f5.com/u/yingweizhao_137)\
**Post date:** [September 7, 2017, 10:40pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032/4 "2017-09-07T22:40:07Z")

</div>

i have been try before ,but failed,you can’t do that,because the F5 BIG-IP SYSTEM is protected!

---

<div class="post-metadata">

**Author:** ![Simon\_Blakely](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Simon\_Blakely](https://community.f5.com/u/Simon_Blakely)\
**Post date:** [September 7, 2017, 10:57pm UTC](https://community.f5.com/t/installing-python-module-on-f5/21032/5 "2017-09-07T22:57:40Z")

</div>

F5 does not support installation of arbitrary software on the BigIP.

If the python library is purely python, you can probably place it in the scripts directory and import it to your monitor script.

If the python library relies on binary or linked libraries, you will be unable to install it.

I’d suggest using an external (or local to the pool member) service to monitor your application with an http api reporting the status, so the BigIP can check the api for the application availability.
