jupyterlab / jupyterlab-demo

Demonstrations of JupyterLab
https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab
Other
184 stars 242 forks source link

solving environment failed #78

Closed axiezai closed 5 years ago

axiezai commented 5 years ago

Tried 'invoke environment' inside the repo directory using: miniconda 4.5.11 python 3.6.5

invoke environment fails with the following messages: Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:

Any help is appreciated!

blink1073 commented 5 years ago

Hi @axiezai, what is the output of conda info?

axiezai commented 5 years ago

Conda info:

active environment : None user config file : /home/axiezai/.condarc populated config files : /home/axiezai/.condarc conda version : 4.5.11 conda-build version : not installed python version : 3.6.5.final.0 base environment : /home/axiezai/miniconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/linux-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/linux-64 https://repo.anaconda.com/pkgs/pro/noarch package cache : /home/axiezai/miniconda3/pkgs /home/axiezai/.conda/pkgs envs directories : /home/axiezai/miniconda3/envs /home/axiezai/.conda/envs platform : linux-64 user-agent : conda/4.5.11 requests/2.18.4 CPython/3.6.5 Linux/4.4.0-134-generic ubuntu/16.04 glibc/2.23 UID:GID : 1000:1000 netrc file : None offline mode : False

blink1073 commented 5 years ago

Can you please try removing the version spec on those packages in binder/environment.yml and see where you end up for each version (e.g. conda list xtensor)?

axiezai commented 5 years ago

The environment was built successfully with no version specs, here are the versions in the environment: xtensor 0.17.3 0 QuantStack xtensor-blas 0.13.1 blas_openblas_0 [blas_openblas] QuantStack scikit-learn 0.19.2 py36_blas_openblasha84fab4_201 [blas_openblas] conda-forge

I was able to open and run the lorenz notebook without a problem, I'm not sure exactly which notebook makes use of xtensor and scikit-learn, if you need me to test them out, please let me know.

And if you think these versions are adequate, I assume we can close this issue?

blink1073 commented 5 years ago

Does it work for you locally if you change the version specs to 0.13 and 0.19? If so, would you mind making a PR?

axiezai commented 5 years ago

I will give this a shot tomorrow after my traveling ends, will keep you updated. And yes, will make a PR if everything works!

blink1073 commented 5 years ago

Great, thanks!

axiezai commented 5 years ago

Changing the version specs to 0.13 and 0.19 respectively worked.

I created a PR. Let me know if everything looks good, I will leave closing the issue to you :) thank you for the help.

blink1073 commented 5 years ago

Cheers, and congratulations on your first contribution to JuptyerLab :tada:!