spyder unicode decode error in startup

后端 未结 1 1490
执笔经年
执笔经年 2021-01-16 10:17

I was using spyder-ide while parsing a tumblr page with the permission of the author, and at some point everything just crashed. Even my linux system had freezed. Well, to c

相关标签:
1条回答
  • 2021-01-16 10:37

    Well here is how I solved the issue.
    l opened this: spyderlib/userconfig.py
    and changed this: self.read(self.filename(), encoding='utf-8')
    to this: self.read(self.filename(), encoding='latin-1')
    It gave me a Warning: File contains no section headers but started spyder anyway. After that, I closed spyder, opened the terminal and entered spyder --reset then restarted spyder, it seems to work now.
    Here is what you should not do at all costs for this problem: thinkering with these, I learned my lesson the hard way:

    python3.5/configparser.py
    python3.5/codecs.py
    
    0 讨论(0)
提交回复
热议问题