Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
This example is about installing and using one Python package in an environment. |
...
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.
...
As explained in Python Package Installation Method Comparison , the only correct way to use pip
on the ASU supercomputers at the moment, is to use it inside an activated mamba env.
...
panelIconId | 26d4 |
---|---|
panelIcon | :no_entry: |
panelIconText | ⛔ |
bgColor | #FF8F73 |
...
.
...
There are some packages can only be found on pypi.org but not anaconda.org, then the only option to install them is via pip
, inside an activated mamba env. Notably that the current official installation guide for both tensorflow and pytorch prefers pip
, but the conda-forge
channel still supports them, and our public tensorflow/pytorch environments were built via mamba
.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Almost all of the Python packages can be found on anaconda.org, and mamba is always preferred. |
The example Here we take a python package called q2-greengenes2
as an example. The commands to have a package it installed via pip
to a mamba env are:
...