We haven’t yet tested the python-control package using Python 3.6, so there are no pre-compiled versions of the slycot or controls packages on the conda server, which is what I think is causing the problem.
I did a clean python3.6 installation using conda to see if things work. It looks like I get numpy 1.12 (instead of 1.9) and so maybe also be part of the problem in the errors below. However, moving past that problem I get the following error:
> (py36test) bash-3.2$ conda install -c python-control -c cyclus slycot control
> Fetching package metadata ...........
> Solving package specifications: ....
>
>
> UnsatisfiableError: The following specifications were found to be in conflict:
> - python 3.6*
> - slycot
As mentioned, this is because slycot (and python-control) haven’t yet been compiled for Python 3.6 => they are not on the conda server.
A couple of options:
* Use Python 3.5
* Install slycot and control using pip (I just tried it and that works). This requires that you have a FORTRAN compiler.
* If you don’t have a FORTRAN compiler, some parts of python-control will work without slycot. You still need to use pip to install the control package, though.
Hope that helps.
-richard
> On Apr 9, 2017, at 05:17, Vincent R. <vor...@ya...> wrote:
>
> Hello,
>
> I'm tying to install the Python Control System Library, to test it as a matlab replacement for my students.
> I use Linux, and the Anaconda distribution : python 3.6 for a 64bit system.
> When i try to install control following instructions on the website, i get this error message :
> ~/anaconda3/bin $ ./conda install -c python-control -c cyclus slycot control
> Fetching package metadata .............
> Solving package specifications: .
>
> UnsatisfiableError: The following specifications were found to be in conflict:
> - control -> numpy 1.9* -> python 2.6* -> openssl 1.0.1*
> - python 3.6*
> Use "conda info <package>" to see the dependencies for each package.
>
> Do have i to wait for a new version of the package, or do you know of a workaround ?
>
> Thanks
> V.R.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
> python-control-announce mailing list
> pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/python-control-announce
|