Deploying with python 3.8

Hi there,

When deploying, I get an error because Streamlit uses python 3.7 and the library I need requires python 3.8
The error is:

ValueError: unsupported pickle protocol: 5

I’ve seen that this has already been discussed here, with a solution to develop locally with a python 3.7 environment.

While it’s doable, this is a bit cumbersome, does anybody have any other solutions?
Many thanks :slight_smile:

Hi @eri3l,

You mean that streamlit sharing uses Python 3.7?

Maybe you can deploy the app somewhere else so you can run streamlit in Python >3.8.
Different options are discussed here.
The heroku with docker option seems pretty nice and Heroku has a nice free tier.