Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.9K
Views
Dataframe_image OsError: Chrome executable not able to be found on your machine

I am trying to run my script in Databricks using dataframe_image library to style my table and later save this as .png file and getting an error OsError: Chrome executable not able to be found on your machine. Per documentation I need to add table_conversion = 'matplotlib'

import pandas as pd
import numpy as np 
np.random.seed(0)

df = pd.DataFrame(np.random.randn(10,4), columns=['A','B','C','D'])
def highlight_max(s, props=''):
    return np.where(s == np.nanmax(s.values), props, '')
styled_table = df.style.apply(highlight_max, props='color:red;', axis=1)\
         .set_properties(**{'background-color': '#ffffb3'})

import dataframe_image as dfi # you might need to pip install dataframe-image

dfi.export(styled_table, 'file1.png', table_conversion = 'matplotlib')

As result all styles are lost.

Note: When I ran the same script in Jupyter using table_conversion = 'chrome' everything was working fine. I was wondering if there is a workaround. Any recommendations are welcome. Thanks.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

For a Debian based os:

apt install chromium-chromedriver

Solved it for me.

Chrome executable error #6

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!