Installing¶
If you are familiar with setting up a Python environment, then run the following command in your terminal:
If you're not familiar with setting up a Python environment, follow one of the options below.
A. Colab (Recommended for beginners)¶
Colab is a free hosted Jupyter notebook product provided by Google.
B. Command-line¶
If you'd like to run Mesop locally on the command-line, follow these steps.
Pre-requisites: Make sure you have Python version 3.10 or later installed by running:
If you don't, please download Python.
Create a venv environment¶
-
Open the terminal and navigate to a directory:
cd foo
-
Create a virtual environment by using venv, which will avoid Python environment issues. Run:
-
Activate your virtual environment:
Once you've activated the virtual environment, you will see ".venv" at the start of your terminal prompt.
- Install mesop:
Upgrading¶
To upgrade Mesop, run the following command:
If you are using requirements.txt
or pyproject.toml
to manage your dependency versions, then you should update those.
Next steps¶
Follow the quickstart guide to learn how to create and run a Mesop app: