Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconId1f40d
panelIcon:snake:
panelIconText🐍
bgColor#E3FCEF

This example is about installing and using two Python packages pytorch and multiqc on Solone Python package in an environment.

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

...

The “conda install” on the above page gives the installation commands:

...

The conda part in the red circle needs to be changed to mamba, and the bioconda part in the blue box is the channel name of this multiqc package. Channel is similar to the name of an online folder, that mamba can find and download the correct package. This is important for the next step.

Pytorch

Go to https://pytorch.org/get-started/locally/ and select options as shown below:

...

Pytorch is special, the correct command should always be gathered from this webpage (not http://anaconda.org ). Other packages may also have such conflicts, when encountered, make sure to follow the instructions on the package official website or github repo.

The command given here CANNOT be directly used on ASU supercomputers, the sections below will show you how to re-write an install command.

...

As explained in Python Package Installation Method Comparison , if a package is not found on anaconda.org, but found on pypi.org , pip can be used inside a mamba env. This is the only correct way to use pip on the ASU supercomputers at the moment.

Panel
panelIconId26d4
panelIcon:no_entry:
panelIconText
bgColor#FF8F73

Almost all of the Python packages can be found on anaconda.org, and mamba is always preferred.

...