multi-vector-simulator icon indicating copy to clipboard operation
multi-vector-simulator copied to clipboard

[Bug] Report cannot be produced

Open ciaradunks opened this issue 2 years ago • 4 comments

The report freezes and never get outputed

Checklist to make sure that the bug report ist complete:

  • [ ] OS: window 10
  • [ ] Branch: dev branch

ciaradunks avatar Jul 04 '23 10:07 ciaradunks

This is due to kaleido package when installed by pip on windows only. To fix this install kaleido via conda

or download the fix from this release of Kaleido: https://github.com/plotly/Kaleido/releases/tag/v0.1.0.post1

first pip uninstall kaleido

then either

conda install kaleido

or pip install .\kaleido-0.1.0.post1-py2.py3-none-win_amd64.whl (being in the folder where the .whl file is saved, probably your download folder)

ciaradunks avatar Jul 04 '23 10:07 ciaradunks

Moreover it seems that for windows Pillow version 10.0.0 has a breaking change, just reverse to pillow 9.5 to fix the error

pip install pillow==9.5

ciaradunks avatar Jul 04 '23 10:07 ciaradunks

@Bachibouzouk FYI I don't think this even works: conda install kaleido

I get the following error:

PackagesNotFoundError: The following packages are not available from current channels: kaleido

I will check this somewhere else but it seems like the second option is the solution

ciaradunks avatar Jul 06 '23 08:07 ciaradunks

https://plotly.com/python/static-image-export/

They recommand conda install -c conda-forge python-kaleido

Bachibouzouk avatar Jul 06 '23 09:07 Bachibouzouk