Skip to content

Commit 81dfe62

Browse files
JostMigendaRobadob
authored andcommitted
add a bit on updating Python and individual packages
1 parent b61a24d commit 81dfe62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

episodes/optimisation-use-latest.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ This could cause your code to crash, or worse subtly change your results.
6262

6363

6464
<!-- todo recommended way, because Python is incredibly bad at this -->
65+
If you have been working with an existing Python installation, the upgrade process for Python itself depends on how you installed your current version. (E.g. via conda, official installer from python.org, package manager like Homebrew/apt/yum/…)
66+
67+
For packages you’re using, you can update those with the same package manager you used to installed them:
68+
69+
* via `pip`, e.g. `pip install --upgrade numpy`
70+
* via `conda`, e.g. `conda update <PACKAGE>`
6571

6672
<!-- Worth also mentioning for same reason, to have requirements.txt? -->
6773

0 commit comments

Comments
 (0)