On Wednesday, August 23, 2017 at 3:50:32 PM UTC-6, Adam Duran wrote:
>
> Anyone know what is going on with my Spyder install?  I recently performed 
> an update on spyder using Pip and now it crashes on startup and spits out 
> the following errors when I try to run it using the windows command prompt:
>
>
> U:\>spyder
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\spyder", line 3, in <module>
>     start_app.main()
>   File "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 114, 
> in main
>
>     from spyderlib import spyder
>   File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 155, in 
> <module>
>
>     from spyderlib.utils.environ import WinUserEnvDialog
>   File "C:\Python27\lib\site-packages\spyderlib\utils\environ.py", line 
> 17, in <module>
>
>     from spyderlib.widgets.dicteditor import DictEditor
>   File "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditor.py", 
> line 39, in <module>
>
>     from spyderlib.widgets.dicteditorutils import (sort_against, get_size,
>   File 
> "C:\Python27\lib\site-packages\spyderlib\widgets\dicteditorutils.py", line 
> 70, in <module>
>
>     from spyderlib import pil_patch
>   File "C:\Python27\lib\site-packages\spyderlib\pil_patch.py", line 59, in 
> <module>
>
>     import Image
>   File "C:\Python27\lib\site-packages\PIL\Image.py", line 27, in <module>
>
>     from . import VERSION, PILLOW_VERSION, _plugins
>
> ValueError: Attempted relative import in non-package
>
>
I found the fix.  Using pip I had to uninstall PIL and install Pillow 
instead. 

-- 
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 https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to