-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Can not use "conda install" in binder environment #173
Comments
cc'ing conda/dask experts @jakirkham @mariusvniekerk in case they have any insight |
Can you get the conda version being used in the binder example ? If it's less than 4.9 we should probably upgrade it |
Thanks for your comment @quasiben. I just checked: The currently running image includes conda in version 4.8.2. If 4.9 will really help, that could be an issue. |
No that's probably not it then. I launched an instanced on binder and things pleasantly worked with |
Yes, image size. The package I would like to add (dask-sql) adds another approx 400 MB, which is quite a lot. mamba is definitely a possibility, but as it should also showcase on how to install the package and mamba is not as known as conda, I am a bit hesitant. But sure, if it works I am fine with it. |
I'm wondering if this is a channel issue. It seems that both nodejs==14 and numpy==1.18 are in the env: https://github.com/dask/dask-examples/blob/master/binder/environment.yml, but they are coming from conda-forge. Does your conda install work if you specify the channel? |
@jsignell I tried your suggestion but that also doesn't work. Also it does work with Mamba:
I also tried with:
And received the same |
Yeah I tried it too :( I feel like there must be some conda settings somewhere, but I can't find them |
Nah that's not it either. I just checked them and conda-forge is in the default channels list, so adding the channel makes no difference. |
It's been a while since anyone was here but I tried this again today and can confirm that things are still the same. Conda fails but mamba succeeds to install. |
Same for me... So odd! |
Locally it fails for me with:
It does seem to be building in the github actions with the environment.yml, but it does fail for me locally on mac with an arm chip. I believe my issue is that these packages, If I upgrade them both to a version that does have those builds, then it can create it locally. I will create a PR that at least updates these two pins minimally, so I can install it locally. |
It seems that to whatever reasons, it is not possible to install a package into the binder environment via conda.
I tried via the terminal or directly from within the jupyter notebook. I started binder by clicking one of the links from the dask-example page.
It does not really matter which package (I tried dask-sql, but also e.g. pandas, which is already installed). Both fail with:
The installation seems to work with mamba, which makes me think it is some problem in the way conda resolves the packages - but I have no idea what is going wild her.
Now comes the "funny" part: If I explicitly install
it actually works, even though conda list already shows me them as installed. It will downgrade some packages:
After that, I can also install other packages...
The text was updated successfully, but these errors were encountered: