Skip to content

Installation

Stable release

To install thinkgreen, run this command in your terminal:

1
pip install thinkgreen

This is the preferred method to install thinkgreen, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

Install from GitHub

To install thinkgreen from GitHub using Git, run the following command in your terminal:

1
pip install git+https://github.com/olilamm/thinkgreen

From sources

The sources for thinkgreen can be downloaded from the Github repo.

You can clone the public repository:

1
git clone git://github.com/olilamm/thinkgreen

Upgrade thinkgreen

to upgrade to the latest version of thinkgreen, you can run the following command in your terminal:

1
pip install -U thinkgreen

If you use conda, you can update thinkgreen to the latest version by running the following command in your terminal:

1
conda update -c conda-forge thinkgreen

To install the development version from GitHub directly within Jupyter notebook without using Git, run the following code:

1
2
import thinkgreen
thinkgreen.update_package()

Last update: 2023-05-11