I’m following this tutorial and trying to export a plot to a static image but nothing happens, the script hangs.
I believe the problem is on this line that never produces a value.
The contents of proc_args
(computed here) are:
C:\Users\<username>\PycharmProjects\imgexport\venv\lib\site-packages\kaleido\executable\kaleido.cmd
plotly
--plotlyjs='C:\\Users\\<username>\\PycharmProjects\\imgexport\\venv\\lib\\site-packages\\plotly\\package_data\\plotly.min.js'
--mathjax='file:///C:/Users/<username>/PycharmProjects/imgexport/venv/lib/site-packages/kaleido/executable/etc/mathjax/MathJax.js'
--disable-gpu
--allow-file-access-from-files
--disable-breakpad
--disable-dev-shm-usage
--no-sandbox
My setup:
Windows 10
kaleido 0.2.1
numpy 1.22.2
pip 21.1.2
plotly 5.6.0
setuptools 57.0.0
six 1.16.0
tenacity 8.0.1
wheel 0.36.2
Adding pio.kaleido.scope.mathjax = None
doesn’t help.