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:
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
Hello I have an issue with permission. When I did run "python3 get-pip.py" I got the following error. epiroc@axcf2152:~$ python3 get-pip.py Defaulting to user installation because normal site-packages is not writeable Collecting pip Using cached pip-22.0.3-py3-none-any.whl (2.1 MB) Collecting setuptools Using cached setuptools-60.9.3-py3-none-any.whl (1.1 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel, setuptools, pip ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/plcnext/.local/lib' Check the permissions. When I used "sudo python3 get-pip.py" It seems that I cannot reach to all folders. Although, my user is set as admin. epiroc@axcf2152:~$ sudo python3 get-pip.py Password: Sorry, user epiroc is not allowed to execute '/usr/bin/python3 get-pip.py' as root on axcf2152. I login with admin user and used the password that was typed on the PLC I had the same issue. I would be appreciated it if you could help.