I work on python migration from 3.7 to 3.10 and I have already installed wxPython 4.2.1.but I got stuck in one place and facing an error in rcsizer.py file.
File “C:\Users\asdf\AppData\Local\Programs\Python\Python310\lib\site-packages\wx\lib\rcsizer.py”, line 153, in CalcMin
size = wx.Size( reduce( operator.add, self.colWidths),
TypeError: Size(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 1 has unexpected type ‘float’
overload 3: argument 1 has unexpected type ‘float’
Traceback (most recent call last):
rcsizer.py is readonly library file of wxpython. and I cann’t any changes there in rcsizer.py.