• Register
0 votes
1.2k 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

Please log in or register to answer this question.

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 190 views
190 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, 2020 Martin K 6.6k points
0 votes
1 answer 27 views
27 views
Problem: I was updating pandas (on windows 7) using: conda update pandas Accidentally closed the command window while updating. Now I cannot start spyder, and if I type conda in the command line, I get: "conda is not recognized as an internal or external command ... get from PyQt5.Qtwidgets import * importerror: DLL load failed: The specific module could not be found Any ideas how to solve this?
asked Dec 6, 2020 sasha 5.3k points
0 votes
1 answer 5K views
5K 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 100 views
100 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 777 views
777 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
0 answers 13 views
13 views
Have been trying to install the latest version of "opencv-contrib-python" package in the new Raspberry Pi (RPi 4). At the time of this writing, the latest version is 4.2.0.34. When I do not specify the version with command pip install opencv-contrib- ... and installing wheel. I have tried these long before. I really appreciate it if anyone can comment who might have come across this problem.
asked Oct 27, 2020 psandprop 2.4k points
0 votes
1 answer 53 views
53 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, 2020 jwilliam 3.9k points
0 votes
1 answer 101 views
101 views
Problem : I am usually installing the python packages through the pip. For my Google App Engine, I need to install the packages to another target directory. I have already tried below command : pip install -I flask-restful --target ./lib But it is failing with below error: “Must supply either home or prefix/exec-prefix -- not both” How can I get my App to work?
asked Jan 6, 2020 alecxe 7.5k points
0 votes
1 answer 62 views
62 views
Problem : I am facing following PostgreSQL 9 error [microsoft][odbc driver manager] data source name not found and no default driver specified
asked Nov 18, 2019 peterlaw 6.9k points
0 votes
1 answer 527 views
527 views
Problem : I want to run the specs, you will need to install RSpec. First, run the gem install bundler in a root directory of the project. Then, run the bundle install. To run the single spec file, run the command like below: bundle exec rspec spec/00_hello_spec.rb. To ... ruby, and I want to bundle install inside of the atom? Could anyone tell me how to use the atom or run anything in the atom?
asked Jan 22, 2020 jwilliam 3.9k points