inverted_pendulum
inverted_pendulum copied to clipboard
ModuleNotFoundError: No module named 'slycot'
Hi. Thank you for your cool src of code.
I have a problem with running controlled_cart_and_pendulum.py.
When I try to run through
python controlled_cart_and_pendulum.py
I get the following error:
`Traceback (most recent call last): File "C:\Users...\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\control\statefbk.py", line 389, in lqr from slycot import sb02md ModuleNotFoundError: No module named 'slycot'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "controlled_cart_and_pendulum.py", line 51, in
Any help is highly appreciated.
Thanks!
I see that you are running it on windows. I am not sure how to fix it, but looks like the python control package is the issue. I recommend you try to run some sample codes from control package on your system first.