: Failed to open file b'C:\\Users\\\xe7\x8e\x8b\xe7\x9a\x93\xe5\xae\x87\\AppData\\Local\\Temp\\scipy-0ogcsx0i'
时间: 2023-09-14 22:08:53 浏览: 101
Python3之乱码\xe6\x97\xa0\xe6\xb3\x95处理方式
这个错误出现在你进行线性回归分析时。根据引用中提到的错误信息,可能是因为文件路径中包含了非英文字符导致的。你可以尝试按照引用中的建议,将计算机的环境变量中的Temp路径改为纯英文路径,这样可能会解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Python3之乱码\xe6\x97\xa0\xe6\xb3\x95处理方式](https://download.csdn.net/download/weixin_38626858/14841649)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [OSError: Failed to open file b‘C:\\Users\\xe8\x94\xa1\xe8\x99\x9a\...\AppData\Local\Temp\scipy-xxxx](https://blog.csdn.net/weixin_45970532/article/details/124447195)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文