Can't install python packages

October 3, 2019 222 views
Linux Basics

I am the sole owner and user of this droplet.

I tried to install a python package and was told I did not have the correct permissions. How do I get permissioned to do this?

I tried to get the ‘su’ status, but even though I know the root password, I have no idea what the “(current) UNIX password:” is, which is what I am prompted to supply after clearing the first hurdle.

I know three passwords with this account: a password to log in via the browser, and a password for a user account I use with Putty/FTP, and the root password. How do I find the other one?

2 Answers

Hello,

I would recommend checking if your user has sudo access, to do that just run:

sudo -i

And then type the password for the user account that you use with Putty. If your user has sudo privileges you would gain root access to your droplet and you would be able to install the packages that you need.

Let me know how it goes!
Regards,
Bobby

Bobby,

Thank you very very much. I did that and was then allowed to install packages.

But I’m curious…what’s the deal with the ‘unix password’ thing? Where would I set that?

Eddie

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!