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!


# 2019-11-20 22:15
I tried to install this with the above command and I recived this error:
root@axcf2152:/opt/plcnext/# curl https://bootstrap.pypa;io/ -o
curl: (6) Could not resolve host: bootstrap.pypa
sh: io/ No such file or directory
# us9igy 2019-12-06 23:37
1. You have to be root (set a passwd for root)
2. curl -o
3. python3