[pypy-issue] [issue1532] Running ipython with pypy on windows

Dusan Smitran tracker at bugs.pypy.org
Thu Jul 11 15:44:30 CEST 2013

New submission from Dusan Smitran <dusan.smitran at gmail.com>:

Dont know where to put this issue im having with running ipython (ipython-0.13.2) with 
pypy 32 bit (2.0.2) on Windows 7 64bit. Is it more a pypy issue?

When running in pypy\bin: ipython.exe i get the following traceback:

C:\python\pypy\bin> ipython.exe
c:\python\pypy\lib_pypy__pycache___cffi__g85535e98x310af836.c(26) : fatal error C1083: 
Cannot open include file: 'ncurses.h': No such file or directory
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
File "c:\python\pypy\bin\ipython-script.py", line 9, in 
load_entry_point('ipython==0.13.2', 'console_scripts', 'ipython')()
File "build\bdist.win32\egg\pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "build\bdist.win32\egg\pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "build\bdist.win32\egg\pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['__name__'])
File "c:\python\pypy\site-packages\ipython-0.13.2-py2.7.egg\IPython__init__.py", line 46, 
in ule>
from .frontend.terminal.embed import embed
File "c:\python\pypy\site-packages\ipython-0.13.2-
py2.7.egg\IPython\frontend\terminal\embed.py", l
ine 38, in 
from IPython.core.magic import Magics, magics_class, line_magic
File "c:\python\pypy\site-packages\ipython-0.13.2-py2.7.egg\IPython\core\magic.py", line 
26, in odule>
from IPython.core import oinspect
File "c:\python\pypy\site-packages\ipython-0.13.2-py2.7.egg\IPython\core\oinspect.py", 
line 33, in

from IPython.core import page
File "c:\python\pypy\site-packages\ipython-0.13.2-py2.7.egg\IPython\core\page.py", line 
39, in dule>
from IPython.utils.cursesimport import use_curses
File "c:\python\pypy\site-packages\ipython-0.13.2-
py2.7.egg\IPython\utils\cursesimport.py", line 2
3, in 
import curses
File "c:\python\pypy\lib-python\2.7\curses__init__.py", line 15, in 
from curses import *
File "c:\python\pypy\lib_pypy_curses.py", line 319, in 
""", libraries=['ncurses', 'panel'])
File "c:\python\pypy\lib_pypy\cffi\api.py", line 311, in verify
lib = self.verifier.load_library()
File "c:\python\pypy\lib_pypy\cffi\verifier.py", line 68, in load_library
File "c:\python\pypy\lib_pypy\cffi\verifier.py", line 56, in compile_module
File "c:\python\pypy\lib_pypy\cffi\verifier.py", line 142, in _compile_module
outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
File "c:\python\pypy\lib_pypy\cffi\ffiplatform.py", line 25, in compile
outputfilename = _build(tmpdir, ext)
File "c:\python\pypy\lib_pypy\cffi\ffiplatform.py", line 50, in _build
raise VerificationError('%s: %s' % (e._class__.__name__, e))
VerificationError: CompileError: command 'c:\Program Files (x86)\Microsoft Visual Studio 
cl.exe' failed with exit status 2

link to issue on ipython github: https://github.com/ipython/ipython/issues/3580

messages: 5916
nosy: pypy-issue, xgo
priority: wish
status: unread
title: Running ipython with pypy on windows

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list