Getting around with Anaconda License violation while using Conda or Miniconda
If you are a Conda or Miniconda user you might have noticed that installing Anaconda packages via the default channel https://repo.anaconda.com/pkgs/ now requires a commercial license if you are an enterprise . If you are using it for individual purposes or are a startup, you are still able to use it without violating any license.
So for eg. if you normally installed conda and miniconda using the installers or any package manager and do a
conda install <package>
it by default uses a default package repo channel https://repo.anaconda.com/pkgs/ to download that python package and install it. So you might be violating the licence by using this repo URL as your default channel.
To confirm whether you are violating the license one can issue conda config --show default_channels
Option#1 :
- Add conda-forge to your existing conda or miniconda installation, using
- conda config --add channels conda-forge
- Once done verify the channels again using conda config --show channels . It should print following.
- channels:
- conda-forge
- defaults - Once verified, remove the defaults channel using conda config --remove channels defaults . Once removed issue conda config --show channels to verify that only conda-forge is present as the only channel. You should see output like.
- channels:
- conda-forge
Comments
Post a Comment