-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Slycot on Windows 11 failing #223
Comments
Hi, this looks like another of those windows/conda install hiccups. Is your conda up to date and which python do you use? Can you boil this down to a minimum slycot install check? Within the |
I use conda 23.9.0 and for this project I use Python 3.11.6. When I import slycot in a script (
The |
I've read issue #219. At the end pichim mentioned what worked for him:
I tried almost exactly the same, except I use the regular conda that is installed with Anaconda Navigator. So I wrote:
(I've just added channel conda-forge, and I also need pint and sympy in my project). In this new virtual environment, called control-env-3-12, package slycot is working now (this means the |
Closing as duplicate of #219. |
I use Pycharm on a Windows 11 computer. For a new project I wanted to use the Python Control Systems library. I created a virtual environment using conda. With the virtual environment being active, I installed the package with the instruction
conda install -c conda-forge control slycot
on the command line. The version of control is 0.9.4, and the version of slycot is 0.5.4.Somewhere in my code I call
ct_ss, _ = ct.canonical_form(self._ct_state_space, form='modal')
(withct
being a short-cut for thecontrol
package, i.e.,import control as ct
). The functioncanonical_form
with parameterform
set to string "modal", seems to use the underlyingslycot
package. And it's here where trouble starts. I get this error message:I have no clue how to fix this issue myself. I tried to build slycot from source, but without success. I also found that when I install with
conda install -c "conda-forge/label/cf202003" control slycot
the error does not appear, but then the numbers in the matrices returned from e.g.ct.tf2ss()
andct.canonical_form()
look terrible.Some help would be very welcome.
The text was updated successfully, but these errors were encountered: