IPython 4.0 on Python 3.4 & Windows 10

Viktor Ransmayr <[email protected]> Fri, 21 Aug 2015 22:42:39 +0200
Newsgroups gmane.comp.python.ipython.user
Message-ID <CAAeSrGLX2HS25EeL0NMNXEZnPcGe5+RD0Njq-psRYQ5kMmC03A@mail.gmail.com>
--===============0412093114==
Content-Type: multipart/alternative; boundary=001a1140f4e6040822051dd84f82

--001a1140f4e6040822051dd84f82
Content-Type: text/plain; charset=UTF-8

As stated in my earlier mail, I'll report my findings. As a very first step
here's the result of installing IPython & pyreadline via pip:

<Log>

Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. Alle Rechte vorbehalten.

PS C:\Users\Viktor> pip list
alabaster (0.7.6)
Babel (2.0)
colorama (0.3.3)
docutils (0.12)
Jinja2 (2.8)
MarkupSafe (0.23)
pip (7.1.1)
Pygments (2.0.2)
pytz (2015.4)
setuptools (18.2)
six (1.9.0)
snowballstemmer (1.2.0)
Sphinx (1.3.1)
sphinx-rtd-theme (0.1.8)
PS C:\Users\Viktor> pip install ipython
Collecting ipython
  Using cached ipython-4.0.0-py3-none-any.whl
Collecting decorator (from ipython)
  Using cached decorator-4.0.2-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython)
  Using cached simplegeneric-0.8.1.zip
Collecting traitlets (from ipython)
  Using cached traitlets-4.0.0-py2.py3-none-any.whl
Collecting pickleshare (from ipython)
  Using cached pickleshare-0.5.tar.gz
Collecting ipython-genutils (from traitlets->ipython)
  Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting path.py (from pickleshare->ipython)
  Using cached path.py-7.6.1-py2.py3-none-any.whl
Installing collected packages: decorator, simplegeneric, ipython-genutils,
traitlets, path.py, pickleshare, ipython
  Running setup.py install for simplegeneric
  Running setup.py install for pickleshare
Successfully installed decorator-4.0.2 ipython-4.0.0 ipython-genutils-0.1.0
path.py-7.6.1 pickleshare-0.5 simplegeneric-
0.8.1 traitlets-4.0.0
PS C:\Users\Viktor> pip install pyreadline
Collecting pyreadline
  Using cached pyreadline-2.0.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File
"C:\Users\Viktor\AppData\Local\Temp\pip-build-vcqznn9j\pyreadline\setup.py",
line 25, in <module>
        from sphinx.setup_command import BuildDoc
      File "C:\Python34\lib\site-packages\sphinx\setup_command.py", line
23, in <module>
        from sphinx.application import Sphinx
      File "C:\Python34\lib\site-packages\sphinx\application.py", line 37,
in <module>
        from sphinx.builders import BUILTIN_BUILDERS
      File "C:\Python34\lib\site-packages\sphinx\builders\__init__.py",
line 23, in <module>
        from sphinx.util import i18n, path_stabilize
      File "C:\Python34\lib\site-packages\sphinx\util\i18n.py", line 15, in
<module>
        from babel.messages.pofile import read_po
      File "C:\Python34\lib\site-packages\babel\messages\__init__.py", line
12, in <module>
        from babel.messages.catalog import *
      File "C:\Python34\lib\site-packages\babel\messages\catalog.py", line
23, in <module>
        from babel.dates import format_datetime
      File "C:\Python34\lib\site-packages\babel\dates.py", line 28, in
<module>
        from babel.util import UTC, LOCALTZ
      File "C:\Python34\lib\site-packages\babel\util.py", line 278, in
<module>
        from babel import localtime
      File "C:\Python34\lib\site-packages\babel\localtime\__init__.py",
line 21, in <module>
        from babel.localtime._win32 import _get_localzone
      File "C:\Python34\lib\site-packages\babel\localtime\_win32.py", line
18, in <module>
        tz_names = get_global('windows_zone_mapping')
      File "C:\Python34\lib\site-packages\babel\core.py", line 58, in
get_global
        _global_data = pickle.load(fileobj)
    TypeError: an integer is required (got type str)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\Viktor\AppData\Local\Temp\pip-build-vcqznn9j\pyr
eadline
PS C:\Users\Viktor> ipython
WARNING: Readline services not available or not loaded.
WARNING: Proper color support under MS Windows requires the pyreadline
library.
You can find it at:
http://ipython.org/pyreadline.html

Defaulting color scheme to 'NoColor'
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64
bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 4.0.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]: quit()
PS C:\Users\Viktor> pip list
alabaster (0.7.6)
Babel (2.0)
colorama (0.3.3)
decorator (4.0.2)
docutils (0.12)
ipython (4.0.0)
ipython-genutils (0.1.0)
Jinja2 (2.8)
MarkupSafe (0.23)
path.py (7.6.1)
pickleshare (0.5)
pip (7.1.1)
Pygments (2.0.2)
pytz (2015.4)
setuptools (18.2)
simplegeneric (0.8.1)
six (1.9.0)
snowballstemmer (1.2.0)
Sphinx (1.3.1)
sphinx-rtd-theme (0.1.8)
traitlets (4.0.0)
PS C:\Users\Viktor>

</Log>

Any feedback or ideas about the traceback when installing 'pyreadline'?

With kind regards,

Viktor

--001a1140f4e6040822051dd84f82
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div>As stated in my earlier mail, I&#=
39;ll report my findings. As a very first step here&#39;s the result of ins=
talling IPython &amp; pyreadline via pip:<br><br></div>&lt;Log&gt;<br><br>W=
indows PowerShell<br>Copyright (C) 2015 Microsoft Corporation. Alle Rechte =
vorbehalten.<br><br>PS C:\Users\Viktor&gt; pip list<br>alabaster (0.7.6)<br=
>Babel (2.0)<br>colorama (0.3.3)<br>docutils (0.12)<br>Jinja2 (2.8)<br>Mark=
upSafe (0.23)<br>pip (7.1.1)<br>Pygments (2.0.2)<br>pytz (2015.4)<br>setupt=
ools (18.2)<br>six (1.9.0)<br>snowballstemmer (1.2.0)<br>Sphinx (1.3.1)<br>=
sphinx-rtd-theme (0.1.8)<br>PS C:\Users\Viktor&gt; pip install ipython<br>C=
ollecting ipython<br>=C2=A0 Using cached ipython-4.0.0-py3-none-any.whl<br>=
Collecting decorator (from ipython)<br>=C2=A0 Using cached decorator-4.0.2-=
py2.py3-none-any.whl<br>Collecting simplegeneric&gt;0.8 (from ipython)<br>=
=C2=A0 Using cached simplegeneric-0.8.1.zip<br>Collecting traitlets (from i=
python)<br>=C2=A0 Using cached traitlets-4.0.0-py2.py3-none-any.whl<br>Coll=
ecting pickleshare (from ipython)<br>=C2=A0 Using cached pickleshare-0.5.ta=
r.gz<br>Collecting ipython-genutils (from traitlets-&gt;ipython)<br>=C2=A0 =
Using cached ipython_genutils-0.1.0-py2.py3-none-any.whl<br>Collecting path=
.py (from pickleshare-&gt;ipython)<br>=C2=A0 Using cached path.py-7.6.1-py2=
.py3-none-any.whl<br>Installing collected packages: decorator, simplegeneri=
c, ipython-genutils, traitlets, path.py, pickleshare, ipython<br>=C2=A0 Run=
ning setup.py install for simplegeneric<br>=C2=A0 Running setup.py install =
for pickleshare<br>Successfully installed decorator-4.0.2 ipython-4.0.0 ipy=
thon-genutils-0.1.0 path.py-7.6.1 pickleshare-0.5 simplegeneric-<br>0.8.1 t=
raitlets-4.0.0<br>PS C:\Users\Viktor&gt; pip install pyreadline<br>Collecti=
ng pyreadline<br>=C2=A0 Using cached pyreadline-2.0.zip<br>=C2=A0=C2=A0=C2=
=A0 Complete output from command python setup.py egg_info:<br>=C2=A0=C2=A0=
=C2=A0 Traceback (most recent call last):<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 File &quot;&lt;string&gt;&quot;, line 20, in &lt;module&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Users\Viktor\AppData\Local\Temp\pip-bui=
ld-vcqznn9j\pyreadline\setup.py&quot;, line 25, in &lt;module&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from sphinx.setup_command import Build=
Doc<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packa=
ges\sphinx\setup_command.py&quot;, line 23, in &lt;module&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from sphinx.application import Sphinx<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\sph=
inx\application.py&quot;, line 37, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 from sphinx.builders import BUILTIN_BUILDERS<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\sph=
inx\builders\__init__.py&quot;, line 23, in &lt;module&gt;<br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from sphinx.util import i18n, path_stabilize=
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages=
\sphinx\util\i18n.py&quot;, line 15, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 from babel.messages.pofile import read_po<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\bab=
el\messages\__init__.py&quot;, line 12, in &lt;module&gt;<br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from babel.messages.catalog import *<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\babel\=
messages\catalog.py&quot;, line 23, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 from babel.dates import format_datetime<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\babel\dat=
es.py&quot;, line 28, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 from babel.util import UTC, LOCALTZ<br>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 File &quot;C:\Python34\lib\site-packages\babel\util.py&quot;, lin=
e 278, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from=
 babel import localtime<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quot;C:\Pyt=
hon34\lib\site-packages\babel\localtime\__init__.py&quot;, line 21, in &lt;=
module&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from babel.localti=
me._win32 import _get_localzone<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File &quo=
t;C:\Python34\lib\site-packages\babel\localtime\_win32.py&quot;, line 18, i=
n &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tz_names =3D=
 get_global(&#39;windows_zone_mapping&#39;)<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 File &quot;C:\Python34\lib\site-packages\babel\core.py&quot;, line 58, =
in get_global<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 _global_data =
=3D pickle.load(fileobj)<br>=C2=A0=C2=A0=C2=A0 TypeError: an integer is req=
uired (got type str)<br><br>=C2=A0=C2=A0=C2=A0 ----------------------------=
------------<br>Command &quot;python setup.py egg_info&quot; failed with er=
ror code 1 in C:\Users\Viktor\AppData\Local\Temp\pip-build-vcqznn9j\pyr<br>=
eadline<br>PS C:\Users\Viktor&gt; ipython<br>WARNING: Readline services not=
 available or not loaded.<br>WARNING: Proper color support under MS Windows=
 requires the pyreadline library.<br>You can find it at:<br><a href=3D"http=
://ipython.org/pyreadline.html">http://ipython.org/pyreadline.html</a><br><=
br>Defaulting color scheme to &#39;NoColor&#39;<br>Python 3.4.3 (v3.4.3:9b7=
3f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)]<br>Type &quot=
;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more infor=
mation.<br><br>IPython 4.0.0 -- An enhanced Interactive Python.<br>?=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -&gt; Introduction and overview =
of IPython&#39;s features.<br>%quickref -&gt; Quick reference.<br>help=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 -&gt; Python&#39;s own help system.<br>object?=
=C2=A0=C2=A0 -&gt; Details about &#39;object&#39;, use &#39;object??&#39; f=
or extra details.<br><br>In [1]: quit()<br>PS C:\Users\Viktor&gt; pip list<=
br>alabaster (0.7.6)<br>Babel (2.0)<br>colorama (0.3.3)<br>decorator (4.0.2=
)<br>docutils (0.12)<br>ipython (4.0.0)<br>ipython-genutils (0.1.0)<br>Jinj=
a2 (2.8)<br>MarkupSafe (0.23)<br>path.py (7.6.1)<br>pickleshare (0.5)<br>pi=
p (7.1.1)<br>Pygments (2.0.2)<br>pytz (2015.4)<br>setuptools (18.2)<br>simp=
legeneric (0.8.1)<br>six (1.9.0)<br>snowballstemmer (1.2.0)<br>Sphinx (1.3.=
1)<br>sphinx-rtd-theme (0.1.8)<br>traitlets (4.0.0)<br>PS C:\Users\Viktor&g=
t;<br><br></div>&lt;/Log&gt;<br><br></div>Any feedback or ideas about the t=
raceback when installing &#39;pyreadline&#39;?<br><br></div>With kind regar=
ds,<br><br></div>Viktor<br><br></div>

--001a1140f4e6040822051dd84f82--

--===============0412093114==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPython-User mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/ipython-user

--===============0412093114==--