Installing CodeCarbon

From pypi repository

The package is hosted on the pip repository here.

To install the package, run the following command in your terminal.

pip install codecarbon

From conda repository

The package is hosted on the conda repository here.

To install the package, run the following command in your terminal.

conda install -c codecarbon -c conda-forge codecarbon

Note

We recommend using Python 3.6 or above.

Dependencies

pip

The following pip packages are used by the CodeCarbon package, and will be installed along with the package itself:

APScheduler
dash
dash_bootstrap_components
dataclasses
fire
pandas
pynvml
requests