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.
If a package is not available from conda or Anaconda.org, you may be able to find and install the package via conda-forge or with another package manager like pip. Pip packages do not have all the features of conda packages and we recommend first trying to install any package with conda.
Go to Environments tab just below the Home tab and from there we can check what all packages are installed and what is not. It is very easy to install any package through anaconda navigator, simply search the required package, select package and click on apply to install it.
in terminal type:
conda activate <env_name>
then:
pip install edx-dl
will work on conda env this library
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With