New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JupyterLab fails looking for old Anaconda installation, not new (Homebrew) location #4363
Comments
It was suggested that I post the question to StackOverflow, so as not to take up project bandwidth here. I've asked the question here. Closing the issue. |
Perhaps it is a kernel config file pointing there? Try doing |
Super. Thanks for pointing out that command. My output is
Looking in that directory, there's a file {
"display_name": "Python 3",
"argv": [
"~/anaconda/bin/python",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
],
"language": "python"
} It looks like you're right that that's (at least one of the places) where JupyterLab is picking up that path from. How do you suggest I fix this? Should I edit the file directly inserting the output of
which is what I'd be expecting given the setup with Anaconda installed via Homebrew? Or should I remove the file... and perhaps let the system rebuild it (if it does that)? Thanks very much for the help. |
If I were you, I'd just delete that directory. Then check to see if |
Great suggestion. I removed the directory and re-ran
as hoped. Things seem to be working now. Thanks for the help. |
Thanks for the help!!!! |
No problem! |
Howdy y'all,
I used to have Anaconda installed via the Mac OS installer in my home folder in the default location (
$HOME/anaconda
). Referring to this thread, which itself refers to the official Anaconda instructions, I uninstalled Anaconda.I reinstalled Anaconda from the Homebrew Cask (placing
export PATH=/usr/local/anaconda3/bin:"$PATH"
in my.bashrc
). Now when Ijupyter-lab
,the process fails with the following output:
I'm not sure why this error is occurring: I specifically removed all of the
$HOME/anaconda
references from my path. Does anyone happen to know why the program would be searching$HOME/anaconda
(my old install location), when Homebrew installed (without error) into/usr/local/anaconda3
? I'm not clear on where JupyterLab could be looking, such that it finds a reference to that old path, when I've removed it from my user setup. Everything else in the traceback is correctly looking in/usr/local/anaconda3/
.I've tried using
grep
to find what file might have that old path stored in it, and all I find isLibrary/Caches/com.apple.Safari/WebKitCache/Version 12/Records/
. Presumably that's because JupyterLab opened with my default browser as Safari. But when I try to run in Chrome, I get the same error.I tried seeking help with the folks at Homebrew, but it seems this is not quite in their purview.
Any suggestions would be greatly appreciated.
Peace out,
Todd
The text was updated successfully, but these errors were encountered: