Timeline for How to update a python library without restarting ipynb kernel?
Current License: CC BY-SA 4.0
Post Revisions
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Sep 29, 2025 at 9:02 | history | bounty ended | Community Bot | ||
| S Sep 29, 2025 at 9:02 | history | notice removed | Community Bot | ||
| Sep 26, 2025 at 21:37 | answer | added | pixel-process | timeline score: 0 | |
| Sep 25, 2025 at 10:00 | answer | added | user31555720 | timeline score: 1 | |
| Sep 23, 2025 at 16:18 | comment | added | Pércoles Tiago Napivoski | Can you benefit from docs.python.org/3/library/venv.html ? | |
| Sep 22, 2025 at 14:08 | comment | added | Wayne |
<continued> modern %pip install command here. For more background, the second paragraph here goes into more details about why the exclamation point may lead to issues. The magic variation install command is universal these days in modern Jupyter, working in JupyterLite for installing from within a code cell. It even works in Google Colab.
|
|
| Sep 22, 2025 at 14:08 | comment | added | Wayne |
For those finding this post for some reason ....Addressing the part: " I run !pip install numpy==1.21 ... and numpy is installed outside of it. " Yes, because you were using grossly outdated approaches at the time when you should have been using the magic %pip install at the time of this post. The magic pip command variation was added in 2019 to ensure the install occurs in the environment where the kernel is running that backs the active notebook. The exclamation point doesn't do that and can lead to issues, which seems to have been the case here. See more about the modern ....
|
|
| Sep 21, 2025 at 15:02 | answer | added | Ace Joshi | timeline score: 0 | |
| S Sep 21, 2025 at 7:47 | history | bounty started | Christof Henkel | ||
| S Sep 21, 2025 at 7:47 | history | notice added | Christof Henkel | Draw attention | |
| Jan 21, 2023 at 20:18 | answer | added | Roy Smart | timeline score: 1 | |
| Jan 21, 2023 at 18:45 | history | asked | user9102437 | CC BY-SA 4.0 |