On 03/16/2015 09:09 AM, rodrigue archambeau wrote:
HI,

I'm a new Spyder user,I work with windows 7 and I had installed it with
pip module in python with OSGeo4W shell.
Everytimes I tried to launch spyder with OSGeo4W, I get this message :

*"Spyder crashed during last session"*

I tried to reset settings to defaults by running Spyder with the command
line option '--reset':

*python -c "from spyderlib.spyder import main; main()"--reset*

and still doesn't launch Spyder.

I have a spyder-crash file :

Traceback (most recent call last):
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\spyderlib\spyder.py", line 2357, in
main
     mainwindow = run_spyder(app, options, args)
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\spyderlib\spyder.py", line 2245, in
run_spyder
     main.setup()
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\spyderlib\spyder.py", line 794, in
setup
     from spyderlib.plugins.inspector import ObjectInspector
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\spyderlib\plugins\inspector.py",
line 48, in <module>
     from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\spyderlib\utils\inspector\sphinxify.py",
line 31, in <module>
     from sphinx.application import Sphinx
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\sphinx\application.py", line 30, in
<module>
     from sphinx import package_dir, locale
   File "C:\Program Files (x86)\QGIS
Wien\apps\Python27\lib\site-packages\sphinx\locale\__init__.py", line
15, in <module>
     from six.moves import UserString
ImportError: cannot import name UserString

Well the error is coming from Sphinx and seems to relate to a mismatch with six. I would say you need to update six.


Did anyone get this problem ?

Thanks


--
Adrian Klaver
[email protected]

--
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.

Reply via email to