简体   繁体   English

valueerror: _isdir: 在路径中嵌入空字符

[英]valueerror: _isdir: embedded null character in path

I am currently working in Spyder 3 (Python 3.7) on my home PC, but just a couple of hours ago Spyder crashed.我目前正在家用 PC 上使用 Spyder 3 (Python 3.7),但就在几个小时前,Spyder 崩溃了。 I don't know what coused the crash, but I received this error message in my anaconda promt when trying to start Spyder from there:我不知道是什么导致了崩溃,但是当我尝试从那里启动 Spyder 时,我在我的 anaconda promt 中收到了这个错误消息:

"valueerror: _isdir: embedded null character in path" “值错误:_isdir:路径中嵌入了空字符”

There is also an error message pop-up window that says "Spyder crashed during last session", and tells me to try to use the command spyder--reset , but this does not work.还有一个错误消息弹出窗口,显示“Spyder 在上次会话期间崩溃”,并告诉我尝试使用命令spyder--reset ,但这不起作用。

Has anyone here encountered the same problem and knows what to do?这里有没有人遇到过同样的问题并且知道该怎么做? Or should I just try to reinstall the software and hope it works?或者我应该尝试重新安装软件并希望它有效? In the case that I reinstall, what files and packages will I lose?如果我重新安装,我会丢失哪些文件和包?

spyder --reset did not work for me. spyder --reset对我不起作用。

I manually deleted the folders like ".spyder", ".spyder_bak" etc in my user folder, and finally it worked.我手动删除了用户文件夹中的“.spyder”、“.spyder_bak”等文件夹,终于成功了。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM