rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

[Bug] Report cannot be produced #961

Open ciaradunks opened 1 year ago

ciaradunks commented 1 year ago

The report freezes and never get outputed

Checklist to make sure that the bug report ist complete:

ciaradunks commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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

Bachibouzouk commented 1 year ago

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

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