Skip to content

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

@Json-To-String

Description

@Json-To-String

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions