Skip to content

Instantly share code, notes, and snippets.

@qin-yu
Created June 18, 2021 20:41
Show Gist options
  • Save qin-yu/6c2566341c116aaa6ca2ebb4de8b6d62 to your computer and use it in GitHub Desktop.
Save qin-yu/6c2566341c116aaa6ca2ebb4de8b6d62 to your computer and use it in GitHub Desktop.

If conda install fails to resolve dependencies, install packages with all channels used before. For example, use

$ conda install napari vigra elf nifty pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia -c conda-forge -c cpape

instead of

$ conda install napari vigra nifty -c conda-forge
$ conda install elf -c conda-forge -c cpape
$ conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment