In Visual Studio, I've coded a python algorithm using plotly, in which I import base64 to encode a local image to use as figure background. It works in VS - also works in Google Colab -, I get the result and the graph I expect.
Unfortunately, when I try to create a Plotly Dashboard, the pip installation of base64 fails when running the file_name.yml
. Indeed, 'base64' doesn't exist in PyPI.org, giving the following error in the VS terminal:
ERROR: Could not find a version that satisfies the requirement base64==1.0.0
I've tried many versions, 1.0.0 is the last one.
When I try to replace base64 with another library, such as pybase64
or b64
, the code doesn't work anymore.
Is it due to a specificity of the base64 library that I don't get? Is there any other library to do it?
Thanks by advance !