Public bug reported: #run latest bionic $docker run -it ubuntu:latest
root@78ea77256364:/# apt update ...NO ERRORS... root@78ea77256364:/# apt upgrade ...NO ERRORS... root@78ea77256364:/# apt install software-properties-common ...NO ERRORS... root@78ea77256364:/# apt-add-repository -y ppa:pypy/ppa ...NO ERRORS... root@78ea77256364:/# apt install -y pypy3-dev ...NO ERRORS... root@78ea77256364:/# pypy3 --version Python 3.6.9 (7.3.1+dfsg-1~ppa1~ubuntu18.04, Apr 11 2020, 00:13:00) [PyPy 7.3.1 with GCC 7.5.0] root@78ea77256364:/# cd root@78ea77256364:~# pypy3 -m venv test The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python-pip-whl package using the following command. apt-get install python-pip-whl You may need to use sudo with that command. After installing the python-pip-whl package, recreate your virtual environment. Failing command: ['/root/test/bin/pypy3-c', '-Im', 'ensurepip', '-- upgrade', '--default-pip'] root@78ea77256364:~# apt install -y python-pip-whl ...NO ERRORS... root@78ea77256364:~# pypy3 -m venv test The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python-pip-whl package using the following command. apt-get install python-pip-whl You may need to use sudo with that command. After installing the python-pip-whl package, recreate your virtual environment. Failing command: ['/root/test/bin/pypy3-c', '-Im', 'ensurepip', '-- upgrade', '--default-pip'] root@78ea77256364:~# apt install -y python3-pip ...NO ERRORS... root@78ea77256364:~# pypy3 -m venv test The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python-pip-whl package using the following command. apt-get install python-pip-whl You may need to use sudo with that command. After installing the python-pip-whl package, recreate your virtual environment. Failing command: ['/root/test/bin/pypy3-c', '-Im', 'ensurepip', '-- upgrade', '--default-pip'] root@78ea77256364:~# pypy3 -m pip --version Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/__init__.py", line 22, in <module> from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning ModuleNotFoundError: No module named 'pip._vendor.requests' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/pypy3/lib-python/3/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/pypy3/lib-python/3/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/pypy3/lib-python/3/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/usr/lib/python3/dist-packages/pip/__init__.py", line 24, in <module> from urllib3.exceptions import DependencyWarning ModuleNotFoundError: No module named 'urllib3' root@78ea77256364:~# apt install -y python3-urllib3 root@78ea77256364:~# pypy3 -m pip --version Traceback (most recent call last): File "/usr/lib/pypy3/lib-python/3/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/pypy3/lib-python/3/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/pypy3/lib-python/3/runpy.py", line 109, in _get_module_details __import__(pkg_name) File "/usr/lib/python3/dist-packages/pip/__init__.py", line 29, in <module> from pip.utils import get_installed_distributions, get_prog File "/usr/lib/python3/dist-packages/pip/utils/__init__.py", line 30, in <module> from pip._vendor.retrying import retry ModuleNotFoundError: No module named 'pip._vendor.retrying' ** Affects: pypy3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874157 Title: pypy3 pip broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pypy3/+bug/1874157/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs