OSError: [Errno 22] Invalid argument: '"C:\\Users\\86150\\Desktop\\Shibor历史数据.xlsx"'
时间: 2023-09-19 21:06:37 浏览: 44
This error message indicates that there is an issue with the file path specified for the Excel file "Shibor历史数据.xlsx". The file path contains an invalid character or is not formatted correctly.
You can try the following steps to fix this error:
1. Check if the file path is correct and valid. Make sure that the file exists in the specified location and that the file name is spelled correctly.
2. Check if there are any special characters or spaces in the file path. If yes, remove them or replace them with valid characters.
3. Ensure that the file path is enclosed in double quotes (") if it contains spaces or special characters.
4. If the file is open in another program or is being used by another process, close all instances of the file and try again.
5. If none of the above steps work, try moving the Excel file to a different location with a shorter file path or try renaming the file with a shorter name.
If the above steps do not resolve the issue, you may need to seek further assistance from a technical expert.