Closed alexjaw closed 10 years ago
latest output from PwerShell (Win7 SE)
Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\Users\pappa> ipython Python 2.7.5 |Anaconda 1.8.0 (64-bit)| (default, Jul 1 2013, 12:37:52) [MSC v.1500 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information. IPython 1.1.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: %install_ext http://raw.github.com/jrjohansson/version_information/master/version_information.py Installed version_information.py. To use it, type: %load_ext version_information In [2]: %load_ext version_information In [3]: %version_information numpy, scipy, matplotlib, sympy Out[3]: --------------------------------------------------------------------------- UnicodeDecodeError Traceback (most recent call last) <ipython-input-3-ea360486624a> in <module>() ----> 1 get_ipython().magic(u'version_information numpy, scipy, matplotlib, sympy') C:\Users\pappa\Anaconda\lib\site-packages\IPython\core\displayhook.pyc in __call__(self, result) 245 self.start_displayhook() 246 self.write_output_prompt() --> 247 format_dict, md_dict = self.compute_format_data(result) 248 self.write_format_data(format_dict, md_dict) 249 self.update_user_ns(result) C:\Users\pappa\Anaconda\lib\site-packages\IPython\core\displayhook.pyc in compute_format_data(self, result) 155 156 """ --> 157 return self.shell.display_formatter.format(result) 158 159 def write_format_data(self, format_dict, md_dict=None): C:\Users\pappa\Anaconda\lib\site-packages\IPython\core\formatters.pyc in format(self, obj, include, exclude) 150 md = None 151 try: --> 152 data = formatter(obj) 153 except: 154 # FIXME: log the exception C:\Users\pappa\Anaconda\lib\site-packages\IPython\core\formatters.pyc in __call__(self, obj) 479 type_pprinters=self.type_printers, 480 deferred_pprinters=self.deferred_printers) --> 481 printer.pretty(obj) 482 printer.flush() 483 return stream.getvalue() C:\Users\pappa\Anaconda\lib\site-packages\IPython\lib\pretty.pyc in pretty(self, obj) 359 meth = cls._repr_pretty_ 360 if callable(meth): --> 361 return meth(obj, self, cycle) 362 return _default_pprint(obj, self, cycle) 363 finally: C:\Users\pappa\.ipython\extensions\version_information.py in _repr_pretty_(self, pp, cycle) 170 text += "%s %s\n" % (name, version) 171 --> 172 text += "\n%s" % time.strftime('%a %b %d %H:%M:%S %Y %Z') 173 174 pp.text(text) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 27: ordinal not in range(128) In [4]:
latest output from PwerShell (Win7 SE)