I want to animate a bicycle model and want to see how it performs the lane change

Exception in Tkinter callback
Traceback (most recent call last):
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py”, line 1921, in call
return self.func(*args)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py”, line 839, in callit
func(*args)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backends_backend_tk.py”, line 145,
in _on_timer
super()._on_timer()
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backend_bases.py”, line 1233, in _on_timer
ret = func(*args, **kwargs)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py”, line 1427, in _step
still_going = super()._step(*args)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py”, line 1121, in _step
self._draw_next_frame(framedata, self._blit)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py”, line 1141, in _draw_next_frame
self._post_draw(framedata, blit)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py”, line 1164, in _post_draw
self._blit_draw(self._drawn_artists)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\animation.py”, line 1186, in _blit_draw
a.axes.draw_artist(a)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\axes_base.py”, line 3080, in draw_artist
a.draw(self.figure.canvas.get_renderer())
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\artist.py”, line 72, in draw_wrapper return draw(artist, renderer)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\text.py”, line 765, in draw
self._bbox_patch.draw(renderer)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\artist.py”, line 72, in draw_wrapper return draw(artist, renderer)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\patches.py”, line 588, in draw
self._draw_paths_with_artist_properties(
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\patches.py”, line 573, in _draw_paths_with_artist_properties
renderer.draw_path(gc, *draw_path_args)
File “C:\Users\KIIT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\backends\backend_agg.py”, line 132,
in draw_path
self._renderer.draw_path(gc, path, transform, rgbFace)
TypeError: must be real number, not str

getting this type of errors what to do?

We can’t really help you without any indication of what it is that you are running.