Installing Python

Workbench

Installing Python

To install Python, please follow the directions at https://docs.posit.co/resources/install-python/.

Multiple versions of Python

We recommend installing multiple versions of Python. An environment with multiple versions of Python helps provide a stable, reproducible environment for your Python developers.

We recommend installing Python in the /opt directory. For example, if you choose to install multiple versions of Python, your /opt directory may look as follows:

/opt/python/3.7.14
/opt/python/3.8.14
/opt/python/3.9.14
/opt/python/3.10.7

By following a consistent convention for installing different versions of Python, it will be easier for your users to switch between the different versions of Python that they require for their work.

Back to top