Monday, 11 November 2019

How to get JupyterHub to re-sync site-packages/libraries?

So I recently had this question where, among other problems, a completely commented out file was still running and working on JupyerHub, but not on the terminal. I figured out this is due to the fact that I was modifying the library files locally, and JupyterHub does not always re-sync the site-packages/libraries.

However, is there a way to make JupyterHub do this as the user? Basically, I want the following to happen:

1. pip install LibraryA
2. modify file within LibraryA, doSomethingLibA.py
3. run script on JupyterHub using updated version of LibraryA 

I have tried re-starting the kernel, but that didn't seem to solve it. Is there a way to do this?



from How to get JupyterHub to re-sync site-packages/libraries?

No comments:

Post a Comment