Spyder refusing to launch after install

1 view
Skip to first unread message

Ryan

unread,
Jun 17, 2013, 2:18:51 PM6/17/13
to anac...@continuum.io
I was trying out different distributions and went through a few uninstalls and reinstalls of various packages. 
When I installed Anaconda there were no other packages on my system, Spyder was working initially, I then installed the basic python package for IDLE and Spyder refused to launch thereafter. I uninstalled both, and reinstalled Anaconda but Spyder refuses to launch. 

Running Spyder in windows command prompt outputs nothing. When I launch Spyder, there appears to be the loading circle at the cursor as if it will work but nothing happens.
I've installed Spyder to re-register locations but to no avail. 

hugo

unread,
Jun 17, 2013, 3:05:13 PM6/17/13
to Ryan, anac...@continuum.io
Not sure if this is your problem, but everytime I run into this, the
fix has been to remove the lock file in ~/.spyder2, Or, if that fails,
to blow away that directory completely.

~/.spyder2 should exist on windows, linux, and OS X
> --
> Anaconda Community Support Group Brought to you by Continuum Analytics
> ---
> You received this message because you are subscribed to the Google
> Groups "Anaconda" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to anaconda+u...@continuum.io.
> To post to this group, send email to anac...@continuum.io.
> Visit this group at
> http://groups.google.com/a/continuum.io/group/anaconda/.
>
>


Aaron Meurer

unread,
Jun 17, 2013, 3:37:17 PM6/17/13
to hugo, Ryan, anaconda
Could you explain what you mean when you say that you installed IDLE?
IDLE comes with Python, which comes with Anaconda, so there should be
no reason to install it. Did you install it with conda somehow, or
separately?

Aaron Meurer

Ryan

unread,
Jun 17, 2013, 4:21:00 PM6/17/13
to anac...@continuum.io, Ryan, hu...@continuum.io
That did it. Thanks, much appreciated!

Ryan

unread,
Jun 17, 2013, 4:30:24 PM6/17/13
to anac...@continuum.io, hugo, Ryan, aaron....@continuum.io
I was looking to run 2 separate python implementations, didn't want to use the bundled IDLE as it would be using conda libraries I assumed.

Aaron Meurer

unread,
Jun 17, 2013, 4:36:17 PM6/17/13
to Ryan, anaconda, hugo
Ah, so you did not install it into anaconda?

Aaron Meurer

Carlos Córdoba

unread,
Jun 17, 2013, 10:58:05 PM6/17/13
to anac...@continuum.io
Hi,

Spyder dev here: this problem occurs because Anaconda doesn't ship with pywin32, a module to access several Windows APIs and that we are currently using to open external files in a single instance (which is verified by the file spyder.lock)

If you don't want this to happen again, please install it. I'll try to improve the situation in our next release, but if the Anaconda guys could ship pywin32 would be better, because it gives a much nicer experience for Spyder on Windows.

Cheers,
Carlos

El 17/06/13 15:21, Ryan escribió:

Ilan Schnell

unread,
Jun 17, 2013, 11:06:01 PM6/17/13
to Carlos Córdoba, anac...@continuum.io
Hi Carlos,

thanks for the tip about pywin32.  We'll try to include it in Anaconda on Windows in the upcoming release, which is scheduled for the end of this week.

- Ilan

Carlos Córdoba

unread,
Jun 17, 2013, 11:23:30 PM6/17/13
to Ilan Schnell, anac...@continuum.io
I'm really glad to hear to it Ilan, you won't regret it :-)

This is not the first report we had of people using Anaconda and unable to start Spyder after closing its parent console (which is most probably what the OP did).

Cheers,
Carlos

El 17/06/13 22:06, Ilan Schnell escribió:

Douglas Karabasz

unread,
Dec 10, 2013, 2:55:56 PM12/10/13
to anac...@continuum.io
I'm have the same issue here that Spyder...it will not launch.  I have update to the latest version of the Anaconda which does look like it includes pywin32.  Any suggestion for trouble shooting?

Thanks,
DK


On Monday, June 17, 2013 9:58:05 PM UTC-5, Carlos Córdoba wrote:
Hi,

Spyder dev here: this problem occurs because Anaconda doesn't ship with pywin32, a module to access several Windows APIs and that we are currently using to open external files in a single instance (which is verified by the file spyder.lock)

If you don't want this to happen again, please install it. I'll try to improve the situation in our next release, but if the Anaconda guys could ship pywin32 would be better, because it gives a much nicer experience for Spyder on Wind

Douglas Karabasz

unread,
Dec 10, 2013, 3:03:11 PM12/10/13
to anac...@continuum.io
Sorry for a double post.  I do not see a spyder.lock file in that dir.  


On Monday, June 17, 2013 9:58:05 PM UTC-5, Carlos Córdoba wrote:

jignes...@gmail.com

unread,
Jan 21, 2015, 5:49:01 AM1/21/15
to anac...@continuum.io

I just downloaded Anaconda (Python 2.7.8 |Anaconda 2.1.0 (64-bit)) and at first Spyder and ipython-notebook did launch from Anaconda Launcher but now all of a sudden they do not. And when I try to launch ipython-qtconsole I get a long list of traceback errors (see attached).

In an attempt to track back to undo any changes that may have caused this, I only recall adding sitecustomize.py which appends some extra paths to sys.path where I add previously some python modules. If deleting this, problem of refusing to launch still persists.

I was previously running Python 2.7.1 which was a “private version” shipped with another software, SPSS.

 Everything else seems to be working OK as far as I can tell, it just I cannot launch these apps from Launcher or otherwise?

 

Any help, would be much appreciated.

Jignesh

Capture.PNG

Carlos Córdoba

unread,
Jan 21, 2015, 8:07:52 PM1/21/15
to anac...@continuum.io
Hi,

This error most probably occurred because you tried to do a "conda update" while Spyder was open. To fix it you need to close Spyder and all other Anaconda programs, open a terminal (cmd.exe) and finally run

    conda install -f pyzmq

Cheers,
Carlos

You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.

Jignesh Sutar

unread,
Jan 22, 2015, 1:50:14 AM1/22/15
to anac...@continuum.io
This error most probably occurred because you tried to do a "conda update" while Spyder was open.

Now you mention it...

 To fix it you need to close Spyder and all other Anaconda programs, open a terminal (cmd.exe) and finally run
    conda install -f pyzmq

That did the trick! Many thanks!

Jignesh 

You received this message because you are subscribed to a topic in the Google Groups "Anaconda - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/anaconda/4wwqSfPeWaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to anaconda+u...@continuum.io.

chri...@gmail.com

unread,
Jul 13, 2016, 1:18:49 PM7/13/16
to Anaconda - Public, hu...@continuum.io
This works perfectly for me. Thanks!

colla

unread,
Jul 23, 2016, 9:13:52 AM7/23/16
to Anaconda - Public

Hi, I have a problem with spyder. I have been using it for several months on windows 10 without any problem until 3 days ago when it just wouldn't come up again.
I have tried to re install but i keep getting the same error and same same issue of not starting up. To be specific, it worked immediately after I uninstall anaconda and reinstalled anaconda but when i restarted my laptop for work the following day, Spyder again refused to come up and I keep getting the same error messages as before.
Please see the error message below for both for starting spyder as well as attempting to rreset. The issue has been the same ever.

C:\Users\user>spyder --reset
Traceback (most recent call last):
File "C:\Users\user\Anaconda2\Scripts\spyder-script.py", line 2, in 
start_app.main()
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\start_app.py", line 114, in main
from spyderlib import spyder
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\spyder.py", line 155, in 
from spyderlib.utils.environ import WinUserEnvDialog
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\utils\environ.py", line 17, in 
from spyderlib.widgets.dicteditor import DictEditor
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\widgets\dicteditor.py", line 39, in 
from spyderlib.widgets.dicteditorutils import (sort_against, get_size,
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\widgets\dicteditorutils.py", line 78, in 
import bs4
File "C:\Users\user\Anaconda2\lib\site-packages\bs4__init__.py", line 30, in 
from .builder import builder_registry, ParserRejectedMarkup
File "C:\Users\user\Anaconda2\lib\site-packages\bs4\builder__init__.py", line 314, in 
from . import _html5lib
File "C:\Users\user\Anaconda2\lib\site-packages\bs4\builder_html5lib.py", line 70, in 
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'

C:\Users\user>spyder
Traceback (most recent call last):
File "C:\Users\user\Anaconda2\Scripts\spyder-script.py", line 2, in 
start_app.main()
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\start_app.py", line 114, in main
from spyderlib import spyder
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\spyder.py", line 155, in 
from spyderlib.utils.environ import WinUserEnvDialog
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\utils\environ.py", line 17, in 
from spyderlib.widgets.dicteditor import DictEditor
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\widgets\dicteditor.py", line 39, in 
from spyderlib.widgets.dicteditorutils import (sort_against, get_size,
File "C:\Users\user\Anaconda2\lib\site-packages\spyderlib\widgets\dicteditorutils.py", line 78, in 
import bs4
File "C:\Users\user\Anaconda2\lib\site-packages\bs4__init__.py", line 30, in 
from .builder import builder_registry, ParserRejectedMarkup
File "C:\Users\user\Anaconda2\lib\site-packages\bs4\builder__init__.py", line 314, in 
from . import _html5lib
File "C:\Users\user\Anaconda2\lib\site-packages\bs4\builder_html5lib.py", line 70, in 
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'

I am using Windows 10, 64 bit machine, python 2.7 and anaconda 2-4.1.1.1, spyder 2.3.9
I will appreciate any help in resolving this issue.
Thanks

omeiza....@gmail.com

unread,
Sep 14, 2016, 3:07:53 PM9/14/16
to Anaconda - Public

Hello, 

Like someone posted at the top, you can try to locate the spyder.lock files in C:/Users/'YourName'/.spyder2-py3. 

Blow away every single file carrying spyder.lock. 

Launch spyder.  Cheers

lam.i...@gmail.com

unread,
Feb 16, 2017, 12:53:43 AM2/16/17
to Anaconda - Public
Hi,

I just downloaded Anaconda3-4.3.0.1 for Windows x86 64-bit. I installed it but when I try to launch Spyder (from Navigator or from cmd.exe) it doesn't launch.

I have been reading over this post as well as the github issues post and tried many things but they are not working. So I uninstalled Anaconda as well as any other python on my computer, and reinstalled Anaconda.

Same problem. I did spyder --reset and it gave me the error shown in sc1.png.



I then tried conda install spyder-app and I got the error shown in sc2.png



I also tried deleting the entire spyder.lock folder under .spyder-py3 and it also does not work.

I think I more or less exhausted my options. Any advice on what to do next is appreciated. 

Nehal J Wani

unread,
Feb 16, 2017, 9:09:54 AM2/16/17
to anac...@continuum.io
You username has the character "'" , which I suppose is causing problems. Have you tried installing Conda to any other location which does not involve any spaces or apostrophes in the path?

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.

To post to this group, send email to anac...@continuum.io.



--
Nehal J Wani

lam.i...@gmail.com

unread,
Feb 18, 2017, 6:05:58 PM2/18/17
to Anaconda - Public
I installed it into a different folder that didn't have special characters in the path and it worked, thanks! It is quite a weird bug.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.

To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.



--
Nehal J Wani

taiho...@gmail.com

unread,
Apr 17, 2017, 11:28:15 AM4/17/17
to Anaconda - Public
Hi,

I also ran into problems. I also tried the advice in the posts below, but doesn't seem to work also. any advice on this?
What can I do if Spyder fails to launch on Windows?
Try launching it again.
On the menu, choose “start” and then “Reset Spyder Settings”, then try to launch Spyder again.
Launch the command prompt by running “cmd” from the Start menu, then type “Spyder” in the command prompt.
Delete the directory .spyder2 from the C:\Documents and Settings\Your_User_Name directory and then repeat the previous steps.


Regards,
Andy

vandanasi...@gmail.com

unread,
Oct 6, 2017, 12:37:01 PM10/6/17
to Anaconda - Public, r.m....@gmail.com, hu...@continuum.io
Hi,

I am also facing spyder launching issue.
could u please let me know what steps had u followed??
i m trying runging spyder reset on window10, not working for me .

Need your Help

Hock Lin Tai

unread,
Oct 7, 2017, 5:40:18 AM10/7/17
to anac...@continuum.io
I used a Mac subsequently. Somehow there are problems using Windows platform

You received this message because you are subscribed to a topic in the Google Groups "Anaconda - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/anaconda/4wwqSfPeWaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to anaconda+unsubscribe@continuum.io.

To post to this group, send email to anac...@continuum.io.

sylveste...@gmail.com

unread,
Feb 16, 2018, 11:24:34 AM2/16/18
to Anaconda - Public, r.m....@gmail.com, hu...@continuum.io
Thanks... I deleted the spyder.lock folder then spyder launched!

vishal.raj...@gmail.com

unread,
May 1, 2018, 3:25:21 PM5/1/18
to Anaconda - Public
What should be done? I am facing the same problem.


On Monday, June 17, 2013 at 8:18:51 PM UTC+2, Ryan wrote:

Will Warner

unread,
May 3, 2018, 7:28:26 PM5/3/18
to Anaconda - Public
What OS are you using? When you open an Anaconda Prompt on Windows (or a bash terminal on Linux or macOS) and run "spyder", what output do you get?

ambuj...@gmail.com

unread,
Jul 9, 2018, 10:32:05 AM7/9/18
to Anaconda - Public

I have installed spyder from anaconda BUT whenever i try to run the application this is what i get.,,,,, Please Help
Reply all
Reply to author
Forward
0 new messages