Hacker News new | ask | show | jobs
by blindstitch 1269 days ago
Use mamba instead of conda to install your packages, and always use the conda-forge channel. mamba is essentially a drop-in replacement. I have always found conda to be horribly slow for installing packages. For environments:

- `conda env create|list|remove` commands to manage them

- `conda activate <env name>` to enter your environment

- `conda deactivate` to return to your base environment

If you want to use a conda environment in jupyter, you must install ipykernel and create a kernel definition for your environment:

    conda activate <env name>
    mamba install -c conda-forge ipykernel
    ipython kernel install --user --name <env name>
In practice I have found anacondas environment management and usage to be pretty seamless.