Ask coding questions

← Back to all posts
How to save a dataframe as image
h
JaimePad

this code is working on my pc fine, but not in replit, somebody know how to solve it?


Voters
JaimePad
Comments
hotnewtop
SixBeeps

There might be something iffy with the version of dataframe-image you're using, so try matching the version on your PC:

  • Open the terminal/command prompt on your computer
  • Run the command pip show dataframe-image. That will show you some information about the version of that package on your PC. Note the Version: field.
  • Go to your Repl and open the shell tab. Run pip install -Iv dataframe-image==[VERSION] where [VERSION] is the version of the package you saw in the previous step.

If that doesn't work, then you can give this workaround a try.

JaimePad

@SixBeeps both are from 0.1.1 version and the other way is not working too for me :c
but thanks :D