ยง2024-12-14

Starting conda

  1. Creating environments

conda create -n <env-name>

conda create -n myenvironment python numpy pandas

For example:

alexlai@ApiServer:~$ ~/anaconda3/bin/conda create -n PY-3.10.15-R-4.4.2 python=3.10.15 r-base=4.4.2
Channels:
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - r-base=4.4.2*

Current channels:

  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

``