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.
It worked for me, as admin, from the /opt/plcnext directory. The output from the commands is shown below. ================================= admin@axcf2152:/opt/plcnext$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2596k 100 2596k 0 0 762k 0 0:00:03 0:00:03 --:--:-- 763k admin@axcf2152:/opt/plcnext$ python3 get-pip.py Defaulting to user installation because normal site-packages is not writeable Collecting pip Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 755.7 kB/s eta 0:00:00 Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel, pip WARNING: The script wheel is installed in '/opt/plcnext/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The scripts pip, pip3 and pip3.8 are installed in '/opt/plcnext/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-22.0.4 wheel-0.37.1
Hello I encountered a different issue. i try running the curl command but i get 0curl (6) could not resolve host https. i tried as an admin and as a root user Thanks in advance for any future help
When I execute the command it gives me the following error: "curl: (60) SSL certificate problem: certificate is not yet valid"
Certificate errors are often caused by the time being incorrect on the device. What is the current time on the PLCnext Control device?
Leave a Reply
You must be logged in to post a comment.