Attempting to use chrome driver

mordye137HOBBY

a year ago

I'm using the python dataframe to image package to output a png, but it uses a chrome driver for this and I'm not sure how to set up the driver within the railway ecosystem.This is the error: Chrome executable not able to be found on your machine

2 Replies

a year ago

Try to add the needed packages as apt packages with a nixpacks.toml file as shown here -

https://nixpacks.com/docs/configuration/file#apt-packages


mordye137HOBBY

a year ago

Try to add the needed packages as apt packages with a nixpacks.toml file as shown here -

https://nixpacks.com/docs/configuration/file#apt-packages

Hey Brody, thanks for that tip.

I created a nixpacks.toml file with this:[phase.setup]

aptPkgs = ['google-chrome-stable']but that still didn't work. Am I doing something wrong? I haven't worked with something like this before.