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
The installation is based on Conda. Conda is a package manager that can be installed on Linux, Windows, and Mac. The following conda based bundles have been prepared and contains all the necessary modules:
Windows : https://filesender.renater.fr/?s=download&token=b488380a-af6c-4f94-bad6-159c836dd3e1
Mac OS : https://filesender.renater.fr/?s=download&token=8c3bea10-ce4b-41ca-aa1f-c789ef67d319
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