. Advertisement .
..3..
. Advertisement .
..4..
I get the “packagesnotfounderror: the following packages are not available from current channels:” issue when trying to install some new packages to get access to functions necessary. Here is the detail of the error I got the error message:
(base) C:\Anaconda2\Jupyter>conda install -c python-control -c cyclus slycot control
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- slycot
- control
Current channels:
- https://conda.anaconda.org/python-control/win-64
- https://conda.anaconda.org/python-control/noarch
- https://conda.anaconda.org/cyclus/win-64
...
Please give me some advice to solve this problem.
The cause: You get this error because you don’t add the conda-forge channel to your list of channels.
The solution: To solve this error, you can try:
or
This command
conda config --append channels conda-forge
will add the conda forge channel into your list. This command tells conda that it should also search for the condaforge channel while searching for packages. The two packages can be installed withconda install slycot control
.Channels are servers that allow people to host packages. The community-driven Conda-forge is often a good place for packages to be hosted when they are not available on the standard channels. Both slycot as well as control are available, according to my testing.