Menu

Regarding python-control installation

Pratyush
2012-01-07
2012-09-03
  • Pratyush

    Pratyush - 2012-01-07

    I wanted to use the python-control package for implementing an idea related to
    Inferential control on Python.

    I downloaded the control-0.5a.tar.gz from this link:

    http://sourceforge.net/projects/python-
    control/files/

    But, my problem is that I am not able to figure out how to install this on my
    Laptop.

    I am using python 2.6 on Windows 7 64bit and I have already installed all the
    required packages like numpy, scipy, matplotlib, ipython 64bit versions.

    Are there any other prerequisites required to use this package on my laptop
    other than the ones mentioned above because when I type "setup.py install" on
    my command prompt it creates egg files in my Python26-->site-packages folder
    but when I try to execute the example codes provided it gives me errors such
    as no slycot found.

    I tried the setup for slycot/Slicot(confused) but its giving me errors.

    Doubts regarding slycot

    Is slycot a must for using python-control package ?

    I have Microsoft visual studio on my laptop but do I need Lapack/BLAS
    installed for slycot

    How do I install Lapack/BLAS easily on Windows 7 64bit

    Which FORTRAN compiler should I download ?

    Links to screen shots for errors

    Can someone please send me the detailed procedure and prerequisites for
    downloading and installing

    -python-control
    -slycot
    -Slicot
    because nothing is clear in the download documentation provided on source
    forge

    and I am not able to install python-control in the conventional way on my
    Windows 7 64bit laptop.

    Please include all the steps as it will be useful to other users as well..!!

    Thanx...

     
  • Richard Murray

    Richard Murray - 2012-01-07

    I looked through your screen shots. It looks like you have everything
    installed correctly except slycot. Some functions will work in python-control
    without slycot, so you can get a few things to work. Unfortunately, most of
    the examples call functions that rely on the existence of slycot (this is what
    generates the error when you call secord-matlab.py).

    In terms of slycot, from your second screen shot it appears that you do not
    have a fortran compiler on your system. Since the slycot package requires
    fortran, you will need to install this. Unfortunately, I can't provide a lot
    of guidance on compiling fortran code on a Windows box since I don't use
    Windows.

    I hope this information helps. It would be great if you can post the solution
    here and we can eventually migrate that information the the python-control
    wiki.

     
  • Richard Murray

    Richard Murray - 2012-01-08

    With the help of Ryan Krauss, the latest version of trunk has some fixes that
    should allow better operation of python-control when slycot is not available.
    In particular, SISO conversions from state space to transfer functions should
    work without slycot, which allows a variety of time response function and
    frequency plots to work.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.