pypa / get-pip

Helper scripts to install pip, in a Python installation that doesn't have it.
https://bootstrap.pypa.io/pip/
MIT License
755 stars 297 forks source link

use of mmap #153

Closed verhulstm closed 2 years ago

verhulstm commented 2 years ago

hi, i have a question

issue with -- with rustpython --install-pip

https://github.com/RustPython/RustPython/issues/3670

why does get-pip need mmap?

might you be able to add a option?

python get-pip.py --no-mmap?

i want to get pip working with rustpytohn again

thanks

pradyunsg commented 2 years ago

pip is using CacheControl, for interacting with its cache. IIUC, the import of mmap is happening in that project: https://github.com/ionrock/cachecontrol/blob/139cd4e34ff0b59a14b94090e6fc6e004750fb22/cachecontrol/filewrapper.py#L6

Please file an issue with https://github.com/ionrock/cachecontrol (ideally with a PR since the maintainer has limited availability, IIUC).