Forums

Unable to install a package using apt-get

Hi, i know that this problem has been posted many times and all the responses state that apt and sudo aren't available, but it doesn't say anything else, i think they depend on the pre-installed packages.

anyway i'm trying to install firefox because it's a dependency i need for selenium. so any help?

Edit: firefox is installed, but i still want to know what if i need to install a package

Unfortunately you can't install packages with apt on PythonAnywhere. If it's a generally-useful package that you need, let us know and we'll see if we can get it into a future system update.

(You can, of course, install Python packages using pip -- details here.)

Do you have any replacement of sudo or apt-get ?

No, we don't

Can you guys include libjansson-dev in next update. Thanks

Noted!

Can you add doppler to the CLI for secrets management?

Will make a note of that

Can you add immortal, it is very useful when there is an internet exceptions and library do not handle it.

@vpn2app could you describe a use case for that?

please can you add imagemagick

That's already installed -- are you having problems using it?

We also have a help page about that https://help.pythonanywhere.com/pages/selenium

Can you please install gnu units?

Noted. We may add that in the next system image update.

I compiled units from source, and now it is working, hence please do not install it, as a global installation may clash with mine, besides requiring su privileges to update. Thank you.

That would be included in a different system image anyway, so no automatic override.