Makers Blog

Installing PIP on PLCnext Control

Stijn Noppe 03 November 2021 min. read
1,362 views 0 comments

What if you do not need a newer version of Python than the one that comes preinstalled on the controller, but you do want pip installed? There is a simple way to do so!

You can download the installation script via the curl command:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

The above command downloads an installation file to the current directory which you can execute with the following command:

python3 get-pip.py

This will install pip on your controller together with wheel and setuptools.

If you wish not to install these, you can install pip with the following command:

python3 get-pip.py --no-wheel --no-setuptools

Note:

The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact.

Discussion

Please login/register to comment
Login/Register
Newsletter
Never miss a new article
Sign up for the newsletter
Never miss news about PLCnext Technology
Get interesting content via newsletter four times a year
Receive exclusive information before all other users