-
Notifications
You must be signed in to change notification settings - Fork 7
Updating Python dependencies in PyCharm
To update the versions of the Python packages in your local virtual environment in PyCharm, from the Terminal
tab in PyCharm, check that you the prompt is showing that the current working directory is the root of the TLOmodel
repository (for example by running pwd
) and then run the following command
pip install -r requirements/dev.txt --upgrade
This should then print a stream of output which ends with a Successfully installed ...
message if there were packages to be updated, or with a series of Requirement already satisfied: ...
messages if all packages are already up to date.
You can verify that the package versions now match those in the requirements/dev.txt
file by opening the Python packages
tool tab and checking against the version specifiers in the requirements/dev.txt
file as in the screenshot below
TLO Model Wiki