-
Notifications
You must be signed in to change notification settings - Fork 225
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
notebook broken with miniconda on windows with installer options unchecked #813
Comments
@mcg1969 , okay, but would be better just to tell folks to post to different repo, because now it's not from me, and I can't edit it. |
Heh, I can't win for losing :-( You may not be able to edit the original issue, but you can of course amend it by posting here. |
I didn't mean that to be aggressive -- I was trying to say I would have been happy to repost. And I'm truly happy that you guys are taking a look! 😺 |
Ha ha! It's all good. I would love to find a way to have the best of both worlds: for us to be able to transfer issues to the proper bin while preserving ownership. Thanks for the report! |
Is this Miniconda or Anaconda? I think the root cause is that a prefix path is not being replaced correctly at install time:
That first bit is very characteristic of a build environment. I think that means either a bug in conda, which should have replaced that path with your install prefix, or perhaps with the package itself - this prefix data gets recorded at build time. If you can provide us with exact versions of your Miniconda/Anaconda installer, along with any updates you did, that will help us a lot. |
The exact steps I took this morning are on the bulleted list here: Size: 39.0 MB (40,918,392 bytes) What other info can I provide? |
I followed your steps to the letter, except I'm on Windows 8. I saw the same warnings you did, but not the final error. Is there any chance you have the vestiges of other conda environments on that machine? That's not to say Anaconda is blameless, just that we may need to improve the checking of such things. |
Also: can you try removing the entire |
Actually please try removing that directory and |
I removed
|
Interesting. What happens if you run |
I get this error:
|
Thanks for doing these tests. Their purpose is to figure out where |
@ilanschnell - do any of the jupyter/notebook packages have has_prefix files on Mac or Linux? I think we might need them here - and we probably also need to solve the conda-side part of conda/conda-build#997 - making sure that text replacement gets backslashes right. |
Just in case it's relevant, after typing "activate", my Windows PATH looks like this:
|
@rsignell-usgs which channels do you have enabled in .condarc? Can you also tell us a list of ipython and jupyter packages that were installed by your command? The output of |
Okay, I have:
and when I type
|
Thanks Rich, I'll trawl through these and let you know what I find. |
I modified my
removed the So now when I type
but when I open a notebook I still get
|
Rich, you appear to be encountering conda-forge/ipykernel-feedstock#6 This has been addressed in conda/conda-build#962, but that version of conda-build has not yet been released. When it is, we'll need to rebuild that feedstock. I'm closing this issue because it is a conda-forge issue. You need to get the defaults version of this package, or wait until it is fixed on conda-forge. Alternatively, you could manually hack the Feel free to reopen if this does not sufficiently answer your issue. |
Indeed, taking these steps to ensure packages were from the defaults channel fixed the problem:
|
@msarahan we must remove the bad packages from the channel. (Can you do it? I am away from my laptop for a few hours. If not I will do it as soon as I get back home.) |
There seem to be 2 builds. Pull them both (on windows only?) |
Both b/c we know that |
From conda/conda#2612 by @rsignell-usgs:
I'm getting
kernel error
when I try to create any notebook with my new miniconda3 environment on windows. Here's what I did:The text was updated successfully, but these errors were encountered: