Closed spyder-bot closed 9 years ago
From klo...@gmail.com on 2013-03-12T12:56:53Z
set SPYDER_ENCODING=utf-8
solves this, thou I can't see where is this mentioned.
From pierre.raybaut on 2013-03-13T10:14:55Z
No, setting this environment variable is not required.
Please see issue #771 (especially the last comments). It may be a side effect of the installation process (not Spyder's fault, but we could however take action on this if necessary).
Status: Duplicate
Mergedinto: 771
From klo...@gmail.com on 2013-03-12T13:57:41Z
I use Python 2.7 with IPython 0.13.1 and I just installed spyder-2.1.13.1.win32.
When I try to launch IPython interpreter I get this:
'import sitecustomize' failed; use -v for traceback
KeyError Traceback (most recent call last) C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\startup.py in()
94 # above (banner has to be shown afterwards)
95 #FIXME: Windows platforms: pylab/GUI loop support is not working
---> 96 ipythonshell.stdin_encoding = os.environ['SPYDER_ENCODING']
97 del banner2
98 except ImportError:
C:\Python27\lib\os.pyc in getitem(self, key) 421 self.data[key.upper()] = item 422 def getitem(self, key): --> 423 return self.data[key.upper()] 424 try: 425 unsetenv
KeyError: 'SPYDER_ENCODING'
Should I set anything prior trying to run IPython interpreter?
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1310