This project presents some examples of use of L-Py.
To access git material, install first Github Desktop
In a convenient directory, you will now download the training material by clicking on <> Code, selecting Github Desktop and following the instruction to clone the project on your computer.
Alternativelly, you can use the following commands in a shell:
cd /path/to/your/documents
git clone https://github.com/fredboudon/lpy-training.git
This installation is based on Conda. Conda is a package manager that can be installed on Linux, Windows, and Mac. If you have not yet installed conda on your computer, follow these instructions:
Conda Installation. Follow instructions for Miniconda.
Conda Download. Use the Python 3.10 based installation.
Then, after install of conda, run the following command in an Anaconda Shell to create an environment with openalea.lpy and its notebooks extension.
conda env create -f environment.yml
Activate the environment using
conda activate lpytraining
Test your installation by running
lpy
Test notebooks by running
jupyter notebook examples/L-systems-Topo-Turtle.ipynb