I am accessing an external computer running on CentOS 7.6 where I don't have root privileges, thus installing pip3
using sudo apt-get install pip3
doesn't work. I tried yum install python36-setuptools
according to this post but this command requires me to be root as well. So what can I do now?
Asked
Active
Viewed 218 times
0

Rani
- 483
- 7
- 17
-
you can create a virtual environment for yourself and install the required packages and dependencies – static const Jun 21 '19 at 16:05
-
`apt-get` is for Debian-derived systems; CentOS is derived from Red Hat, so the `yum` command would be correct if you had the privileges. – tripleee Jun 22 '19 at 09:03
-
https://stackoverflow.com/a/29369079/874188 explains how to do this in a virtual environment, which removes the necessity to run anything as a privileged user. – tripleee Jun 22 '19 at 09:08