Skip to content

Specified WSL Python version is too old to build dev environment #1262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Json-To-String opened this issue Mar 23, 2025 · 0 comments
Open

Comments

@Json-To-String
Copy link

Unsure if this is better categorized as a docs thing or a problem/feature

Link to doc page in question (if any):

https://github.com/streamlit/docs/blob/main/README.md
https://github.com/streamlit/streamlit/wiki/Contributing

Name of the Streamlit feature whose docs need improvement:

Python version specified for WSL (3.7.5) too low to build

Following the contributing guidlines for Ubuntu in WSL has the below modification:

# Install a Python version using pyenv with the `CONFIGURE_OPTS=--enable-shared` flag set:
$ CONFIGURE_OPTS=--enable-shared pyenv install 3.7.5 && pyenv global 3.7.5

$ python -m venv venv

but running

$ make all-devel

returns an error stating that the python version should be greater than 3.9

What you think the docs should say:

Change the WSL modification to:

# Install a Python version using pyenv with the `CONFIGURE_OPTS=--enable-shared` flag set:
$ CONFIGURE_OPTS=--enable-shared pyenv install 3.9 && pyenv global 3.9

$ python -m venv venv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant