• Register
0 votes
1k views

Problem :

I am very much new to the Python. I have already tried to use it in a bunch of projects, but was not really needed to stray from the standard setup. I want to install some new packages to get access to the necessary functions for my project. But when I try to install it, I am getting the following error:

(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
...

And many of other channels similar to that above.

Does anyone have any solution on this Issue?

6 5 3
7,540 points

1 Answer

0 votes

Solution :

Please add the conda-forge channel to your list of channels with the use of following command:

 conda config --append channels conda-forge.

It will inform conda to also look on the conda-forge channel when you try to search for packages. After that you can just install the two packages with following command:

conda install slycot control.

The channels are the servers for people to host the packages on and the community-driven conda-forge is usually the good place to start with when packages are not available via the standard channels. I have already checked that both slycot and control are available there.

9 7 4
38,600 points

Related questions

1 vote
1 answer 104 views
104 views
Problem: I have some knowledge about R and Rstudio. Currently I am trying to install the package known as dplyr but it constantly shows me the below error: Error in install.packages : missing value where TRUE/FALSE needed. Please find below my console history for your ... very limited knowledge about R and Rstudio so I am unable to fix it. I am still facing the same error please guide me.
asked May 26 Martin K 6.6k points
0 votes
1 answer 3.9K views
3.9K views
Problem : gonzo  ~/a/packages  conda env list # conda environments: # ppo_latest /nohome/jaan/alecxe/anaconda3/envs/ppo_latest root * /nohome/jaan/alecxe/anaconda3 gonzo  ~/a/packages  conda activate ppo_latest gonzo  ~/a/packages  which python (ppo_latest) /nohome/jaan/ ... Then I want to check which python it is referring to it and it is not changing.., May I know why it is happening?
asked Nov 25, 2019 alecxe 7.5k points
0 votes
1 answer 62 views
62 views
Problem : I have recently installed the Anaconda 3 4.4.0, 32 bit on my Windows 7 Professional machine and also imported NumPy and Pandas on Jupyter notebook but facing following issue 'conda' is not recognized as an internal or external command, operable program or batch file.
asked Nov 14, 2019 peterlaw 6.9k points
0 votes
2 answers 604 views
604 views
Problem : On installing Anaconda on Ubantu getting below Python error on miss-typed commands fatal python error: py_initialize: unable to get the locale encoding
asked Oct 21, 2019 peterlaw 6.9k points
0 votes
1 answer 34 views
34 views
Problem : I want to open a program for the first time on Windows XP Pro that uses PostgreSQL 9. I am facing an error message that says : A problem was encountered while trying to log into or create the production database. Details: [Microsoft][ODBC Driver Manager] ... = MSDASQL". Changing this entry alters a error message I get to "Provider cannot be found, it may not be properly installed".
asked Jan 17 jwilliam 3.9k points