Skip to content

9. Updating CO2MPAS.

Víctor Valverde edited this page Mar 3, 2017 · 5 revisions

The CO2MPAS tool is subject to future updates which aim to improve its capabilities and/or correct bugs detected in the code. In the case that an update of CO2MPAS is available there are 2 possible scenarios:

  • That CO2MPAS is released with a new version of the All-in-One. In this case, delete the old All-in-One folder from your computer, delete the CO2MPAS shortcut from the Windows Start-Menu, and proceed to a new installation of the updated All-in-One described in Section 2.

  • That CO2MPAS is released without a new version of the All-in-One. In this case, it is possible to update the version of the model following these steps: i) From the Windows Start-Menu launch the CO2MPAS console, ii) Uninstall the software by typying pip uninstall co2mpas and typing ywhen the tool asks for confirmation, iii) Install the new CO2MPAS version by typing pip install co2mpas

Manual update in case of connection failure

Note that in case you are working behind a corporate proxy it is possible that the update of CO2MPAS may fail. In that case, try to install the updated version following these steps:

  1. Using your browser go to the CO2MPAS code repository and look for the last available version.

  2. Click on Download Files and download the .whl file into the CO2MPAS folder (right click with the mouse and "Save link as D:\YOUR_PATH\co2mpas_AIO-v1.5.x\CO2MPAS")

  3. Open the CO2MPAS console

  4. Uninstall CO2MPAS by typing pip uninstall co2mpas

  5. Install the new version of CO2MPAS by typing pip install co2mpas-1.5.x-py2.py3-none-any.whl

  6. If the installation went well check that the new version is installed by typing co2mpas --version

Back to the Index of the user guidelines