twosigma / beakerx

Beaker Extensions for Jupyter Notebook
http://BeakerX.com
Apache License 2.0
2.8k stars 381 forks source link

Installation fails with non-verbose conflict errors #8317

Open NightMachinery opened 2 years ago

NightMachinery commented 2 years ago
❯ conda install -c beakerx beakerx_all
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                               

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions
NightMachinery commented 2 years ago

Trying to create a new env for just this package also doesn't work:

❯ conda create --name beakerx -c beakerx beakerx_all
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                               

UnsatisfiableError: 
NightMachinery commented 2 years ago
❯ conda create --name beakerx -c beakerx python=3.7 beakerx_all                    1
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: | 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                               

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
beakerx_all -> notebook[version='>=5.7.4'] -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.6,<3.7.0a0']
python=3.7
beakerx_all -> python[version='>=3.7,<3.8.0a0']
NightMachinery commented 2 years ago
conda create --name beakerx -c beakerx -c conda-forge python=3.7 beakerx_all

seems to work. I can send a PR for the readme if anyone's interested.

tnn1t1s commented 2 years ago

yes please

PlumpMath commented 2 years ago

please py 3.9

kqvanity commented 2 years ago

conda create --name beakerx -c beakerx -c conda-forge python=3.7 beakerx_all

Can i get to know what's different with the last working command?

I can send a PR for the readme if anyone's interested.

Ya sure. It seems as if more and more people are running into the same error. Additionally, installed kernels can't be seen/listed by jupyter-kernelspec list, unless the conda' virtual environmentbeakerxis activated within the shell i.e.conda activate beakerx`.