Report this

What is the reason for this report?

Can't install python packages

Posted on October 3, 2019

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.