- Create a Mamba environment with Python 3.12
mamba create -n magiccdp python=3.12
- Activate the Mamba environment
mamba activate magiccdp
cd
into themagiccdp
folder andpip install
the package
pip install -e .
(Note: The -e
option stands for "editable". It allows you to change the code in the folder and run those changes immediately. Don't leave this out!)
- Run the notebook using
marimo edit <notebook-name>
. For example,
marimo edit marimo_tutorials/big_picture.py
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.12-dev python3.12-venv
$ python3.12 -m venv ~/path/to/where/you/want/the/venv/created
$ source ~/path/to/where/you/want/the/venv/created/bin/activate
$ cd ~/path/to/this/cloned/repo/magiccdp
$ pip install -e .
Continue as above.
e.g. For MacOS with up-to-date Python
$ python -m venv ~/path/to/where/you/want/the/venv/created
$ source ~/path/to/where/you/want/the/venv/created/bin/activate
$ cd ~/path/to/this/cloned/repo/magiccdp
$ pip install -e .
continue as above