close

How update/remove conda-forge channel from Anaconda?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn aboutHow update/remove conda-forge channel from Anaconda in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How update/remove conda-forge channel from Anaconda?

  1. How update/remove conda-forge channel from Anaconda?

    This will remove the channel called NOT_WANTED(Assuming that it is part of your list e.g. your confa-forge)

  2. update/remove conda-forge channel from Anaconda

    This will remove the channel called NOT_WANTED(Assuming that it is part of your list e.g. your confa-forge)

Method 1

You can use:

conda config --show channels

This will list your channels

conda config --remove channels NOT_WANTED

This will remove the channel called NOT_WANTED(Assuming that it is part of your list e.g. your confa-forge)

BTW, I will recommend –append channel insteading of –add adding them

conda config --append channels CHANNEL_NAME

Why: If you do:

conda config --add channels conda-forge 

This will make conda-forge first hit channel. Your anaconda’s default channel will get lower priority. Some of your packages will start updating to conda-forge.

Instead, do this:

conda config --append channels conda-forge

This keeps your default channel high in priority. Packages will be searched on your default before going to conda-forge 🙂

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read