pythonpipanacondaconda

How to install packages in conda that are not available in anaconda


I want to install a package (of python) using conda, but says not available in repo.anaconda.com/......., how could I install it ?

The specific package that I tried to install is edx-dl (link of the github repo) using the code conda install edx-dl. This code works fine with pip but not with conda.

For example, in pip if I type pip install edx-dl was able to install the package when I was using python base without anaconda. But now with conda it says it is not available in anaconda repo. So if a package that are not available in anaconda, can be installed?

So to generalize, is there any way to download and install packages of python using conda which are not available in repo.anaconda.com?

Note that, I do not use base python, rather currently using anaconda. So, can't use pip to install that package.

Thanks!


Error message that I got:

(base) C:\WINDOWS\system32>conda install edx-dl

WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only using the old .tar.bz2 file format because you have conda-build installed, and it is <3.18.3. Update or remove conda-build to get smaller downloads and faster extractions. Collecting package metadata (repodata.json): done Solving environment: failed

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

Current channels:

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.


Solution

  • in terminal type:

    conda activate <env_name>
    

    then:

    pip install edx-dl
    

    will work on conda env this library