# How to install Python on a PCF200 controller

**URL:** <https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697>\
**Category:** Python\
**Tags:** how-to, linux, pfc200\
**Created:** [November 28, 2023, 10:47am UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697 "2023-11-28T10:47:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pehaa](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pehaa](https://www.wago.community/u/pehaa)\
**Post date:** [November 28, 2023, 10:47am UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697/1 "2023-11-28T10:47:12Z")

</div>

What’s the best way to install Python to 750-8212 PLC (with FW26)?

---

<div class="post-metadata">

**Author:** ![WagoIcard](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoicard/32/1508_2.png) [@WagoIcard](https://www.wago.community/u/WagoIcard)\
**Post date:** [January 5, 2024, 3:52am UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697/2 "2024-01-05T03:52:15Z")

</div>

Hello, depending on the python build i would recommend using docker.

---

<div class="post-metadata">

**Author:** ![Alexander\_Landfried](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/alexander_landfried/32/306_2.png) [@Alexander\_Landfried](https://www.wago.community/u/Alexander_Landfried)\
**Post date:** [January 11, 2024, 3:36pm UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697/3 "2024-01-11T15:36:19Z")

</div>

Hi @pehaa ,

you can use an image from dockerhub to use python functionality for the PFC.

[https://hub.docker.com/repository/docker/wagoautomation/python/general](https://hub.docker.com/repository/docker/wagoautomation/python/general)

---

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [January 11, 2024, 4:25pm UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697/4 "2024-01-11T16:25:40Z")

</div>

Alternatively, you can create a dockerfile to add the required Python & libraries to an Alpine base image.

Something like this;

```auto
FROM alpine:3.19

# This hack is widely applied to avoid python printing issues in docker containers.
# See: https://github.com/Docker-Hub-frolvlad/docker-alpine-python3/pull/13
ENV PYTHONUNBUFFERED=1

RUN echo " ****install Python****" && \
    apk add --no-cache python3 && \
    if [! -e /usr/bin/python]; then ln -sf python3 /usr/bin/python ; fi && \
    \
    echo " ****install pip****" && \
    rm /usr/lib/python3.11/EXTERNALLY-MANAGED && \
    python -m ensurepip && \
    rm -r /usr/lib/python*/ensurepip && \
    if [! -e /usr/bin/pip]; then ln -s pip3 /usr/bin/pip ; fi && \
    pip install --no-cache --upgrade pip setuptools wheel

```

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [April 10, 2026, 3:55pm UTC](https://www.wago.community/t/how-to-install-python-on-a-pcf200-controller/697/5 "2026-04-10T15:55:20Z")

</div>

This is the first time I encountered this and I will say that I succeeded. If you need an installer (750-8208) I can tell you. and tell me how to do it.
