Installing pydare had nothing to do with it. I just had forgotten to
change directory out of the slycot directory. Sorry for the noise!
On Mon, Oct 31, 2011 at 7:17 AM, Gustavo Goretkin <gor...@mi...> wrote:
> I installed the pydare package and now slycot seems to work fine...
>
> On Mon, Oct 31, 2011 at 5:55 AM, Gustavo Goretkin <gor...@mi...> wrote:
>> I'd like to use the LQR routine in python-control. I just cloned the
>> Slycot repo from here [1] and am having an issue that is certainly not
>> due to python-control, but I thought I might get a helpful response
>> anyway.
>>
>> When I (or python-control) issues "import slycot", here's the result:
>>
>> Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
>> [GCC 4.4.5] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import slycot
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "slycot/__init__.py", line 4, in <module>
>> from slycot.analysis import ab01nd,ab05md,ab05nd,ab07nd,ab08nd, ab09ad
>> File "slycot/analysis.py", line 21, in <module>
>> from slycot import _wrapper
>> ImportError: cannot import name _wrapper
>>
>>
>> There is a file called slycot/src/_wrapper.pyf, which is presumably
>> the file that wants to be imported.
>>
>> Any suggestions?
>>
>> Thanks,
>> Gustavo
>>
>>
>> [1] https://github.com/avventi/Slycot
>>
>
|