Spyder Not Launching

。_饼干妹妹 提交于 2021-02-18 10:24:27

问题


I have two environments in which spyder just doesn't want to launch. I click the icon there is a waiting cursor then nothing happens. One of the two is totally new that I just made today. After installing some packaged (pip install pytrends was the last one) it stopped opening.

Note: the general spyder at: C:\ProgramData\Anaconda3\Scripts\spyder.exe does launch, but not the one for the environments.


回答1:


This solves the problem:

conda upgrade qt



回答2:


Just try this :

  1. uninstall pyQt using

conda uninstall pyqt

  1. uninstall sip package

conda uninstall sip

  1. then install these packages in following order

conda install sip

conda install pyqt

conda upgrade spyder

this worked for me.




回答3:


I was not able to launch Spyder and Jupyter notebook from anaconda environment (Mac OS).

Following command worked for me:

conda uninstall tornado
conda install tornado==4.5.3 

Just uninstall tornado and reinstall it.




回答4:


I had faced a similar issue while running spyder from the anaconda navigator or the conda terminal. To overcome this issue you just need to follow some simple steps.

  1. open the anaconda navigator. ( You can also use anaconda prompt and type "anaconda-navigator" at the console)

  2. Open the application and then follow the steps as shown in the image. here we are creating a new environment with a python of version 3.6. I think the 3.7 version is unstable and doesn't work properly. It worked for me, hope for you too !!!

see the image here and follow the steps.

it will take some time to download resources to set up the environment for the first time.

after following the steps launch the application. Make sure to run the environment first to be able to launch the application.




回答5:


This problem is solved in the newest version of conda. Currently it is on the conda canary channel, you can get it by running conda update conda -c conda-canary

Reference




回答6:


For me the outdated library was spyder.kernel. The best solution is to open a new python environment (just input 'py' in command line to build a new environment) and run the following script and it tells you what library is missing or outdated:

from spyder.app import start
start.main()


来源:https://stackoverflow.com/questions/51125462/spyder-not-launching

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!