Replit console for page-views-visualizer freezes after clicking "Run"

I tested the main.py for this task for Data Analysis with Python course on my laptop and the tests were OK.
But in replit after I click 'Run", there’s the first line plot shown in the output window
and then the console sort of freezes (i.e. seemingly does nothing yet while not ready for input commands until I click “Stop”) for an hour or more.

After the first bootup of the repl I need to 'pip install pandas, matplotlib, seaborn" and any other required modules as it doesn’t find any of them installed.

How can I submit this task?

While testing main.py on my laptop I get the first line plot image pop up as output, I close it then the console freezes for ~1-2 minutes and outputs a dozen more .png images. I close all of them and then there is a message that all tests have been run ok. Here’s the sample of what I’m getting in the console on my laptop:

$ python3 main.py
libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
...........
----------------------------------------------------------------------
Ran 11 tests in 24.996s

OK

///
There’s some issue with AMD radeon GPU drivers, but the tests still run OK.

While testing the same main.py in Replit it outputs the first line plot, I close the output, and it freezes for hours.

Also a couple of days ago in Replit home under “My repls” I clicked some “IdealisticClosedGeeklog” and this installed some nix environment, so my repls are now nix (not sure what this means), but I can’t reverse it.

Maybe the replit is corrupted somehow? Can try copying it into a new replit or even testing it in a fresh replit account?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.