[pypy-issue] Issue #2931: PyPy3.5 Stable Unable to Install -SystemError: unexpected internal exception (pypy/pypy)
Michael Peacock
issues-reply at bitbucket.org
Tue Dec 11 22:43:28 EST 2018
New issue 2931: PyPy3.5 Stable Unable to Install -SystemError: unexpected internal exception
https://bitbucket.org/pypy/pypy/issues/2931/pypy35-stable-unable-to-install
Michael Peacock:
Using PyPy3.5 Stable
pip 18.1
setuptools 40.6.3
Windows 10 Build 17134 (1803)
Unable to install some packages, feel like I've tried everything and can't seem to find anything on the problem I'm getting, Quick bug query to the Cryptography Github told me it looked like a PyPy issue and best to open an issue here.
Tested packages: Bcrypt, Cryptography
```
C:\Users\Michael>pip install cryptography
Collecting cryptography
Using cached https://files.pythonhosted.org/packages/f3/39/d3904df7c56f8654691c4ae1bdb270c1c9220d6da79bd3b1fbad91afd0e1/cryptography-2.4.2.tar.gz
Installing build dependencies ... error
Complete output from command c:\users\michael\appdata\local\programs\python\pypy3\pypy3.exe -m pip install --ignore-installed --no-user --prefix C:\Users\Michael\AppData\Local\Temp\pip-build-env-jkco8raq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=18.5 wheel "cffi>=1.7,!=1.11.3; python_implementation != 'PyPy'":
RPython traceback:
File "pypy_interpreter.c", line 42299, in BuiltinCode1_fastcall_1
File "pypy_module_posix.c", line 4913, in get_terminal_size
Traceback (most recent call last):
File "c:\users\michael\appdata\local\programs\python\pypy3\lib-python\3\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\michael\appdata\local\programs\python\pypy3\lib-python\3\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\__main__.py", line 19, in <module>
sys.exit(_main())
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\_internal\__init__.py", line 64, in main
cmd_name, cmd_args = parse_command(args)
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\_internal\cli\main_parser.py", line 58, in parse_command
parser = create_main_parser()
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\_internal\cli\main_parser.py", line 28, in create_main_parser
'formatter': UpdatingDefaultsHelpFormatter(),
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\_internal\cli\parser.py", line 26, in __init__
kwargs['width'] = get_terminal_size()[0] - 2
File "c:\users\michael\appdata\local\programs\python\pypy3\site-packages\pip\_internal\utils\compat.py", line 217, in get_terminal_size
return tuple(shutil.get_terminal_size())
File "c:\users\michael\appdata\local\programs\python\pypy3\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 0x4899b20>; internal traceback was dumped to stderr
----------------------------------------
Command "c:\users\michael\appdata\local\programs\python\pypy3\pypy3.exe -m pip install --ignore-installed --no-user --prefix C:\Users\Michael\AppData\Local\Temp\pip-build-env-jkco8raq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=18.5 wheel "cffi>=1.7,!=1.11.3; python_implementation != 'PyPy'"" failed with error code 1 in None
```
More information about the pypy-issue
mailing list