


OpenAlea Documentation#
Institutes (Sponsors)#
OpenAlea is developed, maintainted and mainly funded by three institutes: CIRAD, INRIA, and INRAE.
License#
OpenAlea is licensed under the CeCILL-C free software license agreement.
Official documentation#
https://readthedocs.org/projects/openalea.readthedocs.io
Description#
OpenAlea is an open source project primarily aimed at the plant research community. It is a distributed collaborative effort to develop Python libraries and tools that address the needs of current and future works in Plant Architecture modeling. OpenAlea includes modules to analyze, visualize, and model the functioning and growth of plant architecture.
This repository contains all the documentation published in the official documentation of OpenAlea.
Information about OpenAlea can also be found in the wiki: openalea/openalea.rtfd.io
Installation#
Install Miniforge 3#
The simplest way to install OpenAlea and all its dependencies is to use Miniforge 3:
Create OpenAlea environment:#
Once you have installed Miniforge, you will have access to Miniforge Prompt (Windows) or from a terminal (Mac/Linux).
Open Miniforge Prompt (Windows) or a terminal (Mac/Linux) and type:
mamba create -n openalea -c openalea3 openalea.plantgl openalea.lpy openalea.visualea openalea.mtg notebook -y
mamba activate openalea
You should now be in your “openalea” environment! Well Done!
Usage#
Tutorials to use the different features of OpenAlea can be found in the documentation.
Contribution#
You can contribute to the OpenAlea project by participating in the Git Workflow, or by opening an issue or a pull request to address a problem or a fix.
Troubleshooting#
Installation Issues#
Description: Installation fails with dependency errors.
Solution: Ensure that you are using the latest version of Miniforge and that your environment is clean before installing OpenAlea. You can remove an existing environment with:
mamba env remove -n openalea
Then, try creating the environment again.
Description: “mamba” command not found.
Solution: Make sure Miniforge is correctly installed and added to your system’s PATH. You might need to restart your terminal or Miniforge Prompt.
Module Import Issues#
Description: OpenAlea modules not found when importing in a Jupyter notebook.
Solution: Ensure that you have activated the OpenAlea environment before starting the Jupyter notebook. You can activate the environment with:
mamba activate openalea
If the issue persists, try installing the Jupyter notebook within the OpenAlea environment:
mamba install notebook
Updating OpenAlea#
To update OpenAlea and its dependencies, activate your OpenAlea environment and run:
mamba update -c openalea3 openalea.plantgl openalea.lpy openalea.visualea openalea.mtg
Contribution#
You can contribute by participating in the Git Workflow, or by opening an issue or a pull request on the OpenAlea GitHub repository.
Additional Resources#
More tutorials and examples can be found in the official documentation.
Contact#
For further assistance, you can reach out to the development team creating an issue on github.