the alternative to use pip bootstrap doesn't work either:

root@8ad116a28545:/# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
...NO ERRORS...

oot@8ad116a28545:/# pypy3 get-pip.py 
Collecting pip
  Downloading pip-20.0.2-py2.py3-none-any.whl (1.4 MB)
     |################################| 1.4 MB 4.8 MB/s 
Collecting setuptools
  Downloading setuptools-46.1.3-py3-none-any.whl (582 kB)
     |################################| 582 kB 15.5 MB/s 
Collecting wheel
  Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: pip, setuptools, wheel
  WARNING: The scripts pip, pip3 and pip3.6 are installed in 
'/usr/lib/pypy3/../../local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
  WARNING: The scripts easy_install and easy_install-3.6 are installed in 
'/usr/lib/pypy3/../../local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
  WARNING: The script wheel is installed in '/usr/lib/pypy3/../../local/bin' 
which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
Successfully installed pip-20.0.2 setuptools-46.1.3 wheel-0.34.2

root@8ad116a28545:/# pypy3 -m pip --version
/usr/bin/pypy3: No module named pip

the problem is in the package paths:

root@8ad116a28545:/# ls /usr/local/lib/pypy3*/dist-packages
/usr/local/lib/pypy3.6/dist-packages:
__pycache__      pip-20.0.2.dist-info  setuptools-46.1.3.dist-info
easy_install.py  pkg_resources         wheel
pip              setuptools            wheel-0.34.2.dist-info

/usr/local/lib/pypy3/dist-packages:


root@8ad116a28545:/# PYTHONPATH=/usr/local/lib/pypy3.6/dist-packages/ pypy3 -m 
pip --version
pip 20.0.2 from /usr/local/lib/pypy3.6/dist-packages/pip (python 3.6)

-- 
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

Reply via email to