Click here to Skip to main content
15,358,440 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi , recently I have problem on debugging in spyder 5.1.1. I have checked online and note that they have some issue on debugging in spyder version 5. I have also tried to install spyder 5.2.2 but still not able to debug so I decided the downgrade to Spyder 4. However, it not working either , so I tired to uninstall Spyder and reinstall spyder 2.4.2 in anaconda. after installed , I cannot open spyder and I got the following message from a pop up window when I tried to launch spyder in Anaconda:

Application spyder launch may have produced errors:
Traceback (most recent call last):
File "C:\Users\user\anaconda3\Scripts\http://spyder-script.py", line 10, in
sys.exit(main())
File "C:\Users\user\anaconda3\lib\site-packages\spyder\app\http://start.py", line 214, in main
mainwindow.main(options, args)
File "C:\Users\user\anaconda3\lib\site-packages\spyder\app\http://mainwindow.py", line 3638, in main
mainwindow = create_window(app, splash, options, args)
File "C:\Users\user\anaconda3\lib\site-packages\spyder\app\http://mainwindow.py", line 3496, in create_window
main.setup()
File "C:\Users\user\anaconda3\lib\site-packages\spyder\app\http://mainwindow.py", line 788, in setup
from spyder.plugins.console.plugin import Console
File "C:\Users\user\anaconda3\lib\site-packages\spyder\plugins\console\http://plugin.py", line 40, in
from spyder.api.plugins import SpyderPluginWidget
File "C:\Users\user\anaconda3\lib\site-packages\spyder\api\plugins_init_.py", line 25, in
from .old_api import SpyderPlugin, SpyderPluginWidget # noqa
File "C:\Users\user\anaconda3\lib\site-packages\spyder\api\plugins\old_api.py", line 22, in
from spyder.utils.icon_manager import ima
ImportError: cannot import name 'ima' from 'spyder.utils.icon_manager' (C:\Users\user\anaconda3\lib\site-packages\spyder\utils\icon_manager.py)

Any advise on what should I do so that I could open the Spyder again? Much appreciate

What I have tried:

I have the same questions on github but still have further problem on that after getting the advice from other experts. (https://github.com/spyder-ide/spyder/issues/17920#issue-1239365635) What should I do so that I could run the Spyder properly again?
Posted
Updated 21-May-22 0:07am

1 solution

ImportError: cannot import name 'ima' from 'spyder.utils.icon_manager' (C:\Users\user\anaconda3\lib\site-packages\spyder\utils\icon_manager.py)

The error is within the package. This is something the owners need to correct.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900