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.
OSError("Chrome executable not able to be found on your machine")
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
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:
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.
Hope that helps! - KFSys.
👋 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.