I am new at ubuntu and python too.
While installing different packaged through pip in ubuntu terminal it gives permission denied errors.Ex : pip3 install numpy
But when i run same command after running sudo su
it works perfect.
What is this sudo su
doing here? And when should i use that command?
What it exactly doing in general term?
#
at the front instead$
. It is used to escalate priviledges, which are required for certain tasks. kb.iu.edu/d/amyisudo pip3 install numpy
, basically your current user is not having permissions to write to folders where this package will be installed. So, root privileges are requiredeasy_install
which allows to install the packages in your$HOME
directory witheasy_install --user <package-name>
.