Save as png in google Colab

I see. Thanks for your inputs. Looks like phantomjs command itself is not working. But I do see the folder in the installed location. In between when I change the environment variable to this path, it said unable to access that file. Which means its installing but local environment is not able to access it. Tried with Jupyter notebooks as well. same issue.

Its sad now that I have to switch to Matplotlib as that is the only place where export is working.