excel 单元格写入信息 ‘发生意外’

环境为 mac 安装的 win10 虚拟机

写入单元格 单元格参数使用 "A1" 能正常执行,
但是当使用变量“A”+str(lv_2) 时,出现下列报错信息。
“A”+str(lv_2) 输出值为 A0

报错堆栈如下:

Traceback (most recent call last):
File “//Mac/Home/Documents/RPA/Project/NewProject3\codes\Main.py”, line 107, in
pro.Main()
File “//Mac/Home/Documents/RPA/Project/NewProject3\codes\Main.py”, line 83, in Main
(temptemp)=self.flow1()
File “//Mac/Home/Documents/RPA/Project/NewProject3\codes\Main.py”, line 78, in flow1
iexcel.write_cell(path=‘//mac/Home/Documents/s1.xls’,cell=“A”+str(lv_2),text=lv_3[1],file_type=‘excel’)
File “C:\Program Files\IS-RPA2020\Python\lib\ubpa\iexcel.py”, line 101, in write_cell
File “C:\Program Files\IS-RPA2020\Python\lib\ubpa\iexcel.py”, line 85, in write_cell
File “C:\Program Files\IS-RPA2020\Python\lib\site-packages\xlwings\main.py”, line 820, in range
return Range(impl=self.impl.range(cell1, cell2))
File “C:\Program Files\IS-RPA2020\Python\lib\site-packages\xlwings_xlwindows.py”, line 583, in range
xl1 = self.xl.Range(arg1)
File “C:\Program Files\IS-RPA2020\Python\lib\site-packages\xlwings_xlwindows.py”, line 63, in call
v = self.__method(*args, **kwargs)
File “<COMObject >”, line 3, in Range
pywintypes.com_error: (-2147352567, ‘发生意外。’, (0, None, None, None, 0, -2146827284), None)
运行异常