-
Notifications
You must be signed in to change notification settings - Fork 501
Issues with teach , #481
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
Comments
the same problem, an example from the book e = ET2.R() * ET2.tx(1)
|
Same "TypeError: Slider.init() takes 5 positional arguments but 7 were given" then, I changed the inputs of slider() from positional argument to keyword argument, and solved my issue. By definition of Slider(SliderBase), only the first 4 parameters are positional, I hope it helps. |
Thanks for the help!!! |
I am trying to use the teach function in my code but am getting this error in response. I cannot find where the 7 different arguments are given.
This is the error message I am recieving.
Message=Slider.init() takes 5 positional arguments but 7 were given
TypeError: Slider.init() takes 5 positional arguments but 7 were given
The text was updated successfully, but these errors were encountered: