解释下F:\python_projects\venv\Scripts\python.exe F:\result\eye_first_move_to_objects_time.py Traceback (most recent call last): File "F:\result\eye_first_move_to_objects_time.py", line 73, in <module> coordinate_x = float(fix_record[row_index][5].value) ValueError: could not convert string to float: '.' Error in atexit._run_exitfuncs: Traceback (most recent call last): File "F:\python_projects\venv\lib\site-packages\openpyxl\worksheet\_writer.py", line 32, in _openpyxl_shutdown os.remove(path) PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'C:\\Users\\dell\\AppData\\Local\\Temp\\openpyxl.byyckh9l' Exception ignored in: <generator object WorksheetWriter.get_stream at 0x000001FBA5104820> Traceback (most recent call last): File "F:\python_projects\venv\lib\site-packages\openpyxl\worksheet\_writer.py", line 300, in get_stream File "src\lxml\serializer.pxi", line 1834, in lxml.etree._FileWriterElement.__exit__ File "src\lxml\serializer.pxi", line 1570, in lxml.etree._IncrementalFileWriter._write_end_element lxml.etree.LxmlSyntaxError: inconsistent exit action in context manager Exception ignored in: <generator object WriteOnlyWorksheet._write_rows at 0x000001FBA5104270> Traceback (most recent call last): File "F:\python_projects\venv\lib\site-packages\openpyxl\worksheet\_write_only.py", line 75, in _write_rows File "src\lxml\serializer.pxi", line 1834, in lxml.etree._FileWriterElement.__exit__ File "src\lxml\serializer.pxi", line 1568, in lxml.etree._IncrementalFileWriter._write_end_element lxml.etree.LxmlSyntaxError: not in an element Process finished with exit code 1
时间: 2023-07-21 10:47:27 浏览: 237
PyPI 官网下载 | lanzou_api-2.5.8.2-py3-none-any.whl
这是一个 Python 程序运行时出现的错误信息。其中,第一行是命令行窗口中输入的 Python 程序执行命令,指定了 Python 解释器和要执行的 Python 文件的路径。接下来是一个 traceback,它展示了程序运行时的错误信息。在这个例子中,程序在第 73 行尝试将一个字符串转换为浮点数,但该字符串是一个点,无法转换。此外,在 traceback 中还显示了一些在程序结束时出现的异常,这些异常通常与文件操作有关。在这个例子中,程序试图删除一个文件,但该文件正在被另一个程序使用,因此无法删除。最后两行 traceback 是与 lxml 库相关的异常,这些异常可能与程序中使用的 Excel 文件有关。
阅读全文