PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community


 How to create a Blog Entry

Installing PIP without IPKG

What if you do not need a newer version of Python than the one that comes preinstalled on the controller (3.5.6), 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/ -o

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

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:

python --no-wheel --no-setuptools

If you do need all the new bells and whistles of the latest Python distribution I gladly advise you to watch Martins Makers blog regarding Python!