Question

Chrome Executable Missing in App Platform

I’m running a discord bot on the digital ocean app platform. One of the packages I’m using transforms a pandas data frame into a picture. That picture is then output to the discord server.

However, the package is sayings that I need a chrome executable installed.

I’m only using python. Is there a way to install that executable without dockerizing and doing it through a container?

I want to keep this as simple as possible.

import dataframe_image as dfi

This is the package causing issues.

Error:

OSError("Chrome executable not able to be found on your machine")

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.

Bobby Iliev
Site Moderator
Site Moderator badge
December 19, 2022

Hi there,

In addition to what has already been mentioned, an alternative approach would be to use a Dockerfile to deploy your app, that way you could define the required packages that you want to be installed:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

Best,

Bobby

KFSys
Site Moderator
Site Moderator badge
December 19, 2022

Hey @jakesteele54,

Great idea, sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Hope that helps! - KFSys.

Jon Friesen
DigitalOcean Employee
DigitalOcean Employee badge
December 19, 2022

👋 hey Jake,

At this time custom packages like Chrome cannot be installed outside of using a docekrfile.

That said, allowing the ability to specify custom packages that are installed at build time is something we’d like to implement and is on our radar though I can’t provide a timeline.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel