Installation#
Installing from sources#
Before starting to install the library, you should first install all dependencies in a conda environment. The simplest way to do this is to call
mamba env create -f environment.yml -n spice
You have to activate the conda environment before installing
mamba activate spice
To install as a Python library:
pip install .
To install in editable mode you need to add the –no-build-isolation option else it will fail.
pip install -e . --no-build-isolation
To run test#
The main example is located in the folder ./examples/python/plantgl-rad-scene
mamba activate spice
cd examples/python/plantgl-rad-scene
Command to run the example
python planglRadScene.py
To run the Jupyter Notebook#
Here is the command to run the Jupyter notebook
cd docs/examples/python/plantgl-rad-scene
jupyter notebook