Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Fix build-time ensurepip #3

Open
yan12125 opened this issue May 22, 2017 · 3 comments
Open

Fix build-time ensurepip #3

yan12125 opened this issue May 22, 2017 · 3 comments

Comments

@yan12125
Copy link
Owner

It's broken by a CPython bug, which attempts to install pip on the host even for cross-builds.

@yan12125
Copy link
Owner Author

Current workaround: run ensurepip on the phone. Enter an adb shell and run:

$ python3.7m -m ensurepip
$ python3.7m -m pip install --upgrade pip setuptools  # This is optional

@yan12125
Copy link
Owner Author

yan12125 commented May 22, 2017

Also, latest pip hang after running most commands. Android doesn't allow non-root processes to create hard links, which breaks the lockfile module. See pypa/pip#3532.

Update: pip is moving away from pylockfile: pypa/pip#4766

@yan12125
Copy link
Owner Author

yan12125 commented Aug 24, 2017

yan12125 pushed a commit that referenced this issue Aug 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant