Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- homer pypy $ cat foo.py
- import sys, os
- print(sys.version)
- print('TERM=%s' % os.environ['TERM'])
- import curses
- curses.setupterm(None)
- print('OK')
- homer pypy $ ./release/portable/pypy3.6-7.2.0-linux_x86_64-portable/bin/pypy -E foo.py
- 3.6.9 (5da45ced70e515f94686be0df47c59abd1348ebc, Oct 17 2019, 22:59:56)
- [PyPy 7.2.0 with GCC 8.2.0]
- TERM=xterm-256color
- OK
- homer pypy $ ./release/py27/7.2.0/bin/pypy foo.py
- 2.7.13 (4a68d8d3d2fc, Oct 10 2019, 06:43:13)
- [PyPy 7.2.0 with GCC 6.2.0 20160901]
- TERM=xterm-256color
- OK
- homer pypy $ ./release/py3k/7.2.0/bin/pypy3 -E foo.py
- 3.6.9 (5da45ced70e5, Oct 09 2019, 19:12:54)
- [PyPy 7.2.0 with GCC 6.2.0 20160901]
- TERM=xterm-256color
- Traceback (most recent call last):
- File "foo.py", line 4, in <module>
- import curses
- File "/home/antocuni/pypy/release/py3k/7.2.0/lib-python/3/curses/__init__.py", line 13, in <module>
- from _curses import *
- File "/home/antocuni/pypy/release/py3k/7.2.0/lib_pypy/_curses.py", line 9, in <module>
- from _curses_cffi import ffi, lib
- ImportError: libncursesw.so.5: cannot open shared object file: No such file or directory
- homer pypy $ ./release/portable/pypy-7.2.0-linux_x86_64-portable/bin/pypy -E foo.py
- 2.7.13 (4a68d8d3d2fc1faec2e83bcb4d28559099092574, Oct 18 2019, 01:09:48)
- [PyPy 7.2.0 with GCC 8.2.0]
- TERM=xterm-256color
- OK
- homer pypy $ ./release/portable/pypy3.6-7.2.0-linux_x86_64-portable/bin/pypy -E foo.py
- 3.6.9 (5da45ced70e515f94686be0df47c59abd1348ebc, Oct 17 2019, 22:59:56)
- [PyPy 7.2.0 with GCC 8.2.0]
- TERM=xterm-256color
- OK
- homer pypy $ ./release/nightly/pypy-c-jit-98232-72f3423c43e5-linux64/bin/pypy -E foo.py
- 2.7.13 (72f3423c43e5, Dec 05 2019, 23:05:46)
- [PyPy 7.3.1-alpha0 with GCC 8.3.1 20190311 (Red Hat 8.3.1-3)]
- TERM=xterm-256color
- Traceback (most recent call last):
- File "foo.py", line 5, in <module>
- curses.setupterm(None)
- File "/home/antocuni/pypy/release/nightly/pypy-c-jit-98232-72f3423c43e5-linux64/lib_pypy/_curses.py", line 814, in setupterm
- raise error("setupterm: could not find terminal")
- error: setupterm: could not find terminal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement