--- jupytext: text_representation: extension: .md format_name: myst kernelspec: display_name: Python 3 (ipykernel) language: python name: python3 --- (getting_started)= # Getting started ## Have you used ArviZ versions earlier than 1.0? We recommend reading the {ref}`migration_guide` instead. (installation)= ## Installation ```{code-block} bash pip install "arviz[, ]" ``` ArviZ brings together several smaller components into one library. Some features, like plotting or reading and writing files, may not be included by default, depending on what you have installed. To make sure you get the features you need, we recommend choosing them when you install ArviZ. You can select from the following options: * I/O: `zarr`, `netcdf4` and `h5netcdf` * Plotting: `matplotlib`, `bokeh` and `plotly` For example, if you want to install Zarr and Matplotlib ```{code-block} bash pip install "arviz[zarr, matplotlib]" ``` If instead you want to use NetCDF and interactive plotting with Plotly and Bokeh then you would run: ```{code-block} bash pip install "arviz[h5netcdf, plotly, bokeh]" ``` Note that you can mix and match any of the available options. You’re not limited to choosing just one file format or one plotting library. ### Verifying the installation ```{code-block} python import arviz as az print(az.info) ``` This should print the version of ArviZ and the libraries that comprise it. It should look like: ```{code-block} none Status information for ArviZ 1.0.0 arviz_base 0.7.0 available, exposing its functions as part of the `arviz` namespace arviz_stats 0.7.0 available, exposing its functions as part of the `arviz` namespace arviz_plots 0.7.0 available, exposing its functions as part of the `arviz` namespace ``` If any of the 3 libraries is missing or can't be imported, the first step for troubleshooting should be going over the error messages at import time: ```{code-block} python import logging logging.basicConfig(level=logging.INFO) import arviz as az ``` ## Learning about the concepts and algorithms powering ArviZ We have an [online book](https://arviz-devs.github.io/EABM/) covering these concepts. ## ArviZ usage details If you are already comfortable with the different tasks needed for Bayesian modeling and want to know how to use ArviZ to simplify your workflows, we recommend starting at the {ref}`arviz_plots:overview_plots` page or `arviz-plots`.