Installation¶
In this tutorial you will install radCAD and confirm it runs.
Requirements¶
- Python 3.10 – 3.12
- A package manager such as
pip
Install from PyPI¶
The default installation includes everything you need to build and run models, including the default pathos parallel-processing backend.
Optional extras¶
radCAD ships several optional dependency groups. Install only the ones you need:
See Migrate from cadCAD and Run on a Ray cluster for when you need these.
Verify the installation¶
Run the following to confirm radCAD imports and reports its version:
import radcad
from radcad import Model, Simulation, Experiment, Engine, Backend
print(radcad.__version__)
If that prints a version number without errors, you're ready to build your first model.
Run the example notebooks¶
radCAD's examples are Jupyter notebooks. Clone the repository, install JupyterLab, and launch it:
Individual notebooks may require extra packages, such as matplotlib or plotly.