[pypy-issue] Issue #2816: Cannot install cppyy on Windows (pypy/pypy)

César Santos issues-reply at bitbucket.org
Thu May 3 04:21:31 EDT 2018


New issue 2816: Cannot install cppyy on Windows
https://bitbucket.org/pypy/pypy/issues/2816/cannot-install-cppyy-on-windows

César Santos:

Note: This was after upgrading to pip 10, before I got an error about wheel not being installed.


```
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.1\helpers\packaging_tool.py", line 145, in main
    do_install(pkgs)
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.1\helpers\packaging_tool.py", line 59, in do_install
    run_pip(['install'] + pkgs)
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.1\helpers\packaging_tool.py", line 73, in run_pip
    runpy.run_module(module_name, run_name='__main__', alter_sys=True)
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\lib-python\3\runpy.py", line 205, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\lib-python\3\runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\lib-python\3\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\__main__.py", line 19, in <module>
    sys.exit(_main())
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\_internal\__init__.py", line 232, in main
    cmd_name, cmd_args = parseopts(args)
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\_internal\__init__.py", line 172, in parseopts
    parser = create_main_parser()
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\_internal\__init__.py", line 144, in create_main_parser
    'formatter': UpdatingDefaultsHelpFormatter(),
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\_internal\baseparser.py", line 25, in __init__
    kwargs['width'] = get_terminal_size()[0] - 2
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\site-packages\pip\_internal\compat.py", line 204, in get_terminal_size
    return tuple(shutil.get_terminal_size())
  File "C:\Users\*\Downloads\pypy3-v6.0.0-win32\pypy3-v6.0.0-win32\lib-python\3\shutil.py", line 1078, in get_terminal_size
    size = os.get_terminal_size(sys.__stdout__.fileno())
SystemError: unexpected internal exception (please report a bug): <WindowsError object at 0x4cec3a0>; internal traceback was dumped to stderr
RPython traceback:
  File "pypy_interpreter.c", line 42299, in BuiltinCode1_fastcall_1
  File "pypy_module_posix.c", line 4913, in get_terminal_size
```




More information about the pypy-issue mailing list