Skip to content

Instantly share code, notes, and snippets.

@vext01
Last active March 6, 2023 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vext01/0192b7984b3818299556d8019fa1d07e to your computer and use it in GitHub Desktop.
Save vext01/0192b7984b3818299556d8019fa1d07e to your computer and use it in GitHub Desktop.
pypy stuff
$ LD_LIBRARY_PATH=`pwd`/pypy/goal ./pypy/goal/pypy3.9-c -m compileall ./pypy/lib_pypy
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = '/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
Traceback (most recent call last):
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/runpy.py", line 200, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/compileall.py", line 459, in <module>
exit_status = int(not main())
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/compileall.py", line 310, in main
parser = argparse.ArgumentParser(
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/argparse.py", line 1728, in __init__
self._positionals = add_group(_('positional arguments'))
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/gettext.py", line 746, in gettext
return dgettext(_current_domain, message)
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/gettext.py", line 670, in dgettext
t = translation(domain, _localedirs.get(domain, None))
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/gettext.py", line 591, in translation
mofiles = find(domain, localedir, languages, all=True)
File "/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src/lib-python/3/gettext.py", line 549, in find
localedir = _default_localedir
NameError: name '_default_localedir' is not defined
$ LD_LIBRARY_PATH=`pwd`/pypy/goal ./pypy/goal/pypy3.9-c
debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = '/usr/ports/pobj/pypy-7.3.11/pypy3.9-v7.3.11-src'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
Python 3.9.16 (feeb267ead3e6771d3f2f49b83e1894839f64fb7, Mar 05 2023, 19:58:27)
[PyPy 7.3.11 with GCC OpenBSD Clang 13.0.0] on openbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment