|
楼主 |
发表于 2021-9-16 13:07:02
|
显示全部楼层
D:\pycharm\venv\Scripts\python.exe D:/pycharm/main.py
Traceback (most recent call last):
File "D:/pycharm/main.py", line 4, in <module>
数据.to_excel(路径)
File "D:\pycharm\venv\lib\site-packages\pandas\core\generic.py", line 2284, in to_excel
formatter.write(
File "D:\pycharm\venv\lib\site-packages\pandas\io\formats\excel.py", line 834, in write
writer = ExcelWriter( # type: ignore[abstract]
File "D:\pycharm\venv\lib\site-packages\pandas\io\excel\_openpyxl.py", line 52, in __init__
super().__init__(
File "D:\pycharm\venv\lib\site-packages\pandas\io\excel\_base.py", line 925, in __init__
self.handles = get_handle(
File "D:\pycharm\venv\lib\site-packages\pandas\io\common.py", line 711, in get_handle
handle = open(handle, ioargs.mode)
PermissionError: [Errno 13] Permission denied: 'c:/新建空白文件.xlsx' |
|