Score:0

Installing pip using pypy3 in an Ubuntu Docker image

cn flag

After installing pypy3 like so:

apt-get -y install pypy3

The following error occurs when trying to set up pip:

# pypy3 -m ensurepip
Traceback (most recent call last):
  File "/usr/lib/pypy3/lib-python/3/runpy.py", line 196, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/pypy3/lib-python/3/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/pypy3/lib-python/3/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/usr/lib/pypy3/lib-python/3/ensurepip/__init__.py", line 221, in _main
    version="pip {}".format(version()),
  File "/usr/lib/pypy3/lib-python/3/ensurepip/__init__.py", line 71, in version
    assert len(wheel_names) == 1, wheel_names
AssertionError: []

Is there a way to fix this?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.