Updating and Upgrading#
Updating Brightway Libraries#
Brightway is being actively developed, with frequent new releases. The update procedure varies slightly depending on whether you have installed Brightway using pip
, conda
, or mamba
. In a terminal or command line shell with your Brightway environment activated, run one of the following:
pip install -U brightway25
conda update -c conda-forge -c cmutel brightway25
mamba update -c conda-forge -c cmutel brightway25
Warning
Apple Silicon users should update brightway25_nosolver
.
You can use the same syntax to update individual packages:
pip install -U <my_cool_package>
Upgrading from Brightway Version 2#
Individual projects can be migrate to Brightway version 2.5
import bw2data as bd
bd.projects.set_current('<project_name>')
bd.projects.migrate_project_25()