Ask coding questions

← Back to all posts
Does pygal work on replit ? I get an error
ASims (0)

Does pygal work on replit ? I get an error

[AssertionError]

I know I can use matplotlib etc, but pygal looked easier for teaching students. Perhaps there are other easier libraries that work.

Cheers

Voters
ASims (0)
Comments
hotnewtop
RYANTADIPARTHI (6006)

try installing it. If it doesn't work, then it's not available in repl.it

19ecal (228)

Go to the shell, then do pip install pygal to install it, then you need to run the file from there also with python main.py. That should work

novaflippers (48)

I dont think this is possible. Trying pip install through the shell dosent work, and the console and packager menu also failed.

Try on another repl, or else this may be a malfunction on the system's end.