简体   繁体   English

我在最近一次通话中遇到了一些错误

[英]I am getting some error in most recent call last

Traceback (most recent call last): File "C:/Users/HP/PycharmProjects/HelloWorld/app.py", line 24, in <module> wb.save('transactions2.xlsx') File "C:\Users\HP\PycharmProjects\HelloWorld\venv\lib\site-packages\openpyxl\workbook\workbook.py", line 397, in save save_workbook(self, filename) File "C:\Users\HP\PycharmProjects\HelloWorld\venv\lib\site-packages\openpyxl\writer\excel.py", line 292, in save_workbook archive = ZipFile(filename, 'w', ZIP_DEFLATED, allowZip64=True) File "C:\Users\HP\AppData\Local\Programs\Python\Python37-32\lib\zipfile.py", line 1204, in __init__ self.fp = io.open(file, filemode) PermissionError: [Errno 13] Permission denied: 'transactions2.xlsx'
PermissionError: [Errno 13] Permission denied: 'transactions2.xlsx'

You most likely have this file transactions2.xlsx still open in Excel.您很可能仍然在 Excel 中打开此文件transactions2.xlsx Otherwise you have a process running, that still uses that file.否则你有一个进程正在运行,它仍然使用那个文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我会收到“回溯(最近一次呼叫最后一次):”错误? - Why am I getting a “ Traceback (most recent call last):” error? 我正在获取 Traceback Traceback(最近一次通话最后一次): - i am getting Traceback Traceback (most recent call last): 我为什么要得到回溯(最近一次通话是最近一次): - Why am I getting a Traceback (most recent call last): 为什么我在第6行上得到Traceback最近的呼叫和文件字符串 - Why I am getting Traceback most recent call last and file string at line 6 我正在获取错误回溯(最近一次调用最近):对于num_guesses中的我:TypeError:&#39;int&#39;对象不可迭代 - Im getting error Traceback (most recent call last): for i in num_guesses: TypeError: 'int' object is not iterable 我在以下程序中遇到错误,因为 KeyError Traceback(最近一次调用最后一次) - I'm getting an error in the following program as KeyError Traceback (most recent call last) 解释“回溯(最近一次调用最后一次):”错误 - Interpreting a “Traceback (most recent call last):” error Traceback(最近一次通话最后一次)Python 错误 - Traceback (most recent call last) Python Error Python追踪(最近一次通话)错误 - Python Traceback (most recent call last) error 修复回溯(最近一次通话最近)错误? - Fixing Traceback (most recent call last) error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM