From b494632cb4524e6e9ac84d14e572f61db57cfd18 Mon Sep 17 00:00:00 2001 From: Yalin Date: Tue, 5 Nov 2024 08:57:02 -0500 Subject: [PATCH] better solution for cleaning numba cache --- docs/source/FAQ.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/source/FAQ.rst b/docs/source/FAQ.rst index 54e9ab30..f92f22ec 100644 --- a/docs/source/FAQ.rst +++ b/docs/source/FAQ.rst @@ -77,7 +77,7 @@ There are multiple possible reasons: Then when you open the Jupyter Notebook, select the ```` kernel when you create a new notebook you can find more details in this post about `enabling multiple kernels in Jupyter Notebook `_. -``Underlying object has vanished`` +``underlying object has vanished`` ********************************** This error is related to ``numba`` caching, we haven't figured out the exact mechanism, but clearing cache will help resolve it. One/both of the following approaches should work: @@ -85,9 +85,7 @@ This error is related to ``numba`` caching, we haven't figured out the exact mec .. code:: - get-childitem -recurse -include *.pyc | remove-item - get-childitem -recurse -include *.nbc | remove-item - get-childitem -recurse -include *.nbi | remove-item + get-childitem . -recurse -include *.pyc, *.nbc, *.nbi | remove-item 2. Uninstalling and reinstalling a different version of ``numba``. Suppose you now have 0.58.1 and the newest version is 0.60.0, you can do: