Spyder crashed during last session

764 views
Skip to first unread message

rodrigue archambeau

unread,
Mar 16, 2015, 12:35:47 PM3/16/15
to spyd...@googlegroups.com
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

Did anyone get this problem ?

Thanks

Adrian Klaver

unread,
Mar 16, 2015, 12:46:09 PM3/16/15
to spyd...@googlegroups.com
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*
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
adrian...@aklaver.com

Ashok Palla

unread,
Mar 6, 2020, 1:48:23 PM3/6/20
to spyder
im also getting same like this please tell me how to fix the error

Hakan Keleş

unread,
Mar 22, 2020, 10:41:56 AM3/22/20
to spyder
hey dude!
I have been getting same proble, too. I am not sure what is the issue.. If you would have any solution, please light me up. 

Annotation 2020-03-22 143034.png


Thanks.

16 Mart 2015 Pazartesi 18:35:47 UTC+2 tarihinde rodrigue archambeau yazdı:
Reply all
Reply to author
Forward
0 new messages