The short summary : "How to shoot yourself in the foot by running Jupyter on two different operating systems simultaneously (on the same computer)"
BLUF : Are you sure the notebook in Chrome isn't using a different Jupyter session than you think? Check!
What? How? Why?
I got a new work computer, on which I didn't have Administrator rights, to be able to install WSL. (Didn't know *how* to get admin rights 😊). So, being a guy who needs an Excel dashboard and a notebook open all the time, I installed Git bash just to get a flavor of unix (why? Because I can then run my own search engine to search notes for solutions to problems encountered in the past)
This gives me Jupyter labs (though I'm happy with plain v Jupe). And I'm kind of hooked. It looks cute.
Eventually, I get WSL on there because I need something industrial, not wimpy Git bash that looks like a cygwin under the hood :) And, when the time comes to try hacking, like an openCV course, I need to install Jupyter there, does, and launches.
Without knowing! that, when an existing Jupyter instance is already running, if you use this link that the "new" instance gives you, you're essentially starting a new notebook in the old instance.
I could see that the uname in the terminal I launched within the browser wasn't Linux (WSL), but rather MINGW64. But, it never occurred to me that the problem could be due to running two Jupyter sessions simultaneously. Shame on me.
Help! I've installed camelot, ghostscript, tk, etc.. I am connecting to a session launched within this WSL TTY. If I do a python within that terminal, I get camelot's read_pdf working. But, in the notebook, it complains that ghostscript isn't available.
Duh! Look at the ecosystem. Eliminate parts of the problem if you can to narrow things down. Focus and Simplify!
Thanks again Shehroz. Nailed it with the question "What are the instances of Jupyter that are running?"
And, how did I do that text box? Thank you Tech Girl Help Desk.
<p style="padding:2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid">YOUR TEXT HERE</p>
Hint, use style="text-align:center" if necessary 😊
Comments
Post a Comment