Can not start spyder
See original GitHub issueversion 5.1.5
fromIccProfile: failed minimal tag size sanity
Traceback (most recent call last):
File "D:\DataScience\PythonSet\IDES\Anacondanew\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\start.py", line 237, in main
mainwindow.main(options, args)
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\mainwindow.py", line 1992, in main
mainwindow = create_window(MainWindow, app, splash, options, args)
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\utils.py", line 292, in create_window
main.post_visible_setup()
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\app\mainwindow.py", line 1222, in post_visible_setup
self.projects.reopen_last_project()
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 578, in reopen_last_project
self.open_project(path=current_project_path,
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 433, in open_project
project_type_class = self._load_project_type_class(path)
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\site-packages\spyder\plugins\projects\plugin.py", line 864, in _load_project_type_class
config.read(fpath)
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\configparser.py", line 697, in read
self._read(fp, filename)
File "D:\DataScience\PythonSet\IDES\Anacondanew\lib\configparser.py", line 1017, in _read
for lineno, line in enumerate(fp, start=1):
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 185: illegal multibyte sequence
It seems I copy a existed project and I can be open, however,after closimng, when reopen it ,the spyder crashed(the windows can be show and after seconds it disappears).
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Spyder Not Launching - python - Stack Overflow
I have two environments in which spyder just doesn't want to launch. I click the icon there is a waiting cursor then nothing...
Read more >spyder is not launching even after doing complete uninstall ...
Restarted Spyder · Reset preferences with spyder --reset · Reinstalled the latest version of Anaconda · Tried the other applicable steps from the ......
Read more >First Steps — Spyder 5 documentation
As a first step to solving your issue, you can try some · If Spyder won't launch, check the · If your problem...
Read more >Anaconda/Spyder Python IDE Not launching [SOLVED]
If this doesn't work, open a command prompt (Type cmd/enter from the start menu), navigate to the Anaconda installation (in Windows 10, 'cd...
Read more >Spyder won't open - Q&A di Informatica
I suggest you uninstall spyder and delete its cache which is located in the AppData/Local folder. You could also do this with anaconda...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you again,I understand why I was strictly operating, but wasn’t able to successfully switch python versions, and it boils down to poor compatibility support for anaconda.
Hey @yanyu2015 and @steff456, this problem is a duplicate of issue #15340. A fix for it was included in our 5.2.0 version, released a few days ago.
You can start using that version right now (instead of waiting to be available in Anaconda) by closing Spyder and running the following commands in the Anaconda Prompt:
After that, you’ll always need to run the last two commands to start 5.2.0.
Please do that and let us know if it works for you.