-
Notifications
You must be signed in to change notification settings - Fork 70
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
Fix conda executable not found (conda 4.4+) #79
Conversation
Thanks @benbovy this allows me to use nb_conda under latest anaconda (4.5.3)! It seems this repo needs a little attention to catch up to the changes in 4.4. Are there any maintainers around? @damianavila or @bollwyvl perhaps ? |
Looks like this will not be compatible with older installs of conda that do not export $CONDA_EXE. Is this a problem? See #80 for a PR that includes a backwards-compatible fix (among other changes) |
To be honest, #80 is getting too unwieldy, trying to do too many things at once. It's fine with me if we try to separate concerns here. I would propose that you bring in my back-compatible logic (or equivalent) into your construction of CONDA_EXE, but that this PR be treated/reviewed/merged separately. |
In this PR, if |
That said, #80 seems to test for a few more things, notably on windows platforms which I don't use, so it's probably better addressed there. |
As to whether the special-casing in #80 is necessary, At https://github.com/Anaconda-Platform/anaconda-nb-extensions/issues/168#issuecomment-392280875, Kale Franz wrote:
(This: conda/conda#7206 appears to be the PR that makes these changes in 4.6) So I agree with @mcg1969 that the approach used here looks good. I think it is preferable to consider this separately from #82, since it is a simple fix for an issue that is happening in the wild right now (for users trying out the new-style install). |
Good point, I would definitely support merging this first. |
OK, I leave this PR as is for now. Let me know when I can close this (or for maintainers, feel free to close it or merge it depending on what's best to do). |
I'm still waiting on some internal decision making and @damianavila in particular for advice on how to proceed. Stay tuned. Won't be too much longer, I don't think. |
Addressed by #82. |
Fixes #73
Try first getting path to conda executable from
$CONDA_EXE
.xref: jupyterlab/jupyterlab#4598