One my colleagues found the problem. Installing mayavi via conda downgrades numpy from 1.10.1 to 1.9.3 which crashes Spyder
Upgrading bumpy back to 1.10.1 seems to fix the problem (and mayavi still seems to work). This seems to indicate both a problem with Spyder and with conda (under anaconda 2.4 and 2.4.1)! On Thursday, December 10, 2015 at 12:49:40 PM UTC-5, [email protected] wrote: > > I've been having a lot of problems running Spyder 2.3.8 immediately after > installing Mayavi. The problem persists in Anaconda 2.4 and 2.4.1. I just > did a clean install of Anaconda and Spyder started normally. Immediately > after installing Mayavi Spyder refuses to launch. The error message is > shown below. > > Any help appreciated as this has been driving me crazy. > > Thanks! > > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\Users\dbk>conda install mayavi > Fetching package metadata: .... > Solving package specifications: ....................... > Package plan for installation in environment > C:\Users\dbk\AppData\Local\Continuu > m\Anaconda2: > > The following packages will be downloaded: > > package | build > ---------------------------|----------------- > numpy-1.9.3 | py27_0 23.5 MB defaults > traits-4.4.0 | py27_0 373 KB defaults > vtk-5.10.1 | py27_0 16.3 MB defaults > pyface-4.4.0 | py27_0 690 KB defaults > traitsui-4.4.0 | py27_0 833 KB defaults > apptools-4.2.1 | py27_0 282 KB defaults > envisage-4.4.0 | py27_1 267 KB defaults > mayavi-4.4.0 | np19py27_0 10.4 MB defaults > ------------------------------------------------------------ > Total: 52.6 MB > > The following NEW packages will be INSTALLED: > > apptools: 4.2.1-py27_0 defaults > envisage: 4.4.0-py27_1 defaults > mayavi: 4.4.0-np19py27_0 defaults > pyface: 4.4.0-py27_0 defaults > traits: 4.4.0-py27_0 defaults > traitsui: 4.4.0-py27_0 defaults > vtk: 5.10.1-py27_0 defaults > > The following packages will be DOWNGRADED: > > numpy: 1.10.1-py27_0 defaults --> 1.9.3-py27_0 defaults > > Proceed ([y]/n)? y > > Fetching packages ... > numpy-1.9.3-py 100% |###############################| Time: 0:00:08 2.92 > MB/s > traits-4.4.0-p 100% |###############################| Time: 0:00:00 2.09 > MB/s > vtk-5.10.1-py2 100% |###############################| Time: 0:00:09 1.88 > MB/s > pyface-4.4.0-p 100% |###############################| Time: 0:00:00 4.41 > MB/s > traitsui-4.4.0 100% |###############################| Time: 0:00:00 4.74 > MB/s > apptools-4.2.1 100% |###############################| Time: 0:00:00 2.49 > MB/s > envisage-4.4.0 100% |###############################| Time: 0:00:00 2.12 > MB/s > mayavi-4.4.0-n 100% |###############################| Time: 0:00:04 2.60 > MB/s > Extracting packages ... > [ COMPLETE ]|##################################################| > 100% > Unlinking packages ... > [ COMPLETE ]|##################################################| > 100% > Linking packages ... > [ COMPLETE ]|##################################################| > 100% > > C:\Users\dbk>spyder > Traceback (most recent call last): > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\Scripts\spyder-script.py" > , line 2, in <module> > start_app.main() > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\start_app.py", line 114, in main > from spyderlib import spyder > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\spyder.py", line 155, in <module> > from spyderlib.utils.environ import WinUserEnvDialog > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\utils\environ.py", line 17, in <module> > from spyderlib.widgets.dicteditor import DictEditor > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\widgets\dicteditor.py", line 39, in <module> > from spyderlib.widgets.dicteditorutils import (sort_against, get_size, > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\widgets\dicteditorutils.py", line 61, in <module> > required_version=PANDAS_REQVER) > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\dependencies.py", line 70, in add > installed_version)] > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\dependencies.py", line 32, in __init__ > self.installed_version = programs.get_module_version(modname) > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\spyderl > ib\utils\programs.py", line 238, in get_module_version > mod = __import__(module_name) > File > "C:\Users\dbk\AppData\Local\Continuum\Anaconda2\lib\site-packages\pandas\ > __init__.py", line 7, in <module> > from pandas import hashtable, tslib, lib > File "pandas\src\numpy.pxd", line 157, in init pandas.tslib > (pandas\tslib.c:10 > 2684) > ValueError: numpy.dtype has the wrong size, try recompiling > > C:\Users\dbk> > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
