Question

Can't install python packages

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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