-
Notifications
You must be signed in to change notification settings - Fork 13
9. Updating CO2MPAS.
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 typingy
when the tool asks for confirmation, iii) Install the new CO2MPAS version by typingpip install co2mpas
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:
-
Using your browser go to the CO2MPAS code repository and look for the last available version.
-
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")
-
Open the CO2MPAS console
-
Uninstall CO2MPAS by typing
pip uninstall co2mpas
-
Install the new version of CO2MPAS by typing
pip install co2mpas-1.5.x-py2.py3-none-any.whl
-
If the installation went well check that the new version is installed by typing
co2mpas --version