sunflowerit / waftlib

Apache License 2.0
7 stars 14 forks source link

Broken pip on Python 2.7 #7

Closed thomaspaulb closed 2 years ago

thomaspaulb commented 2 years ago

On Ubuntu 20.0 with a Python 2.7 Odoo 10.0 waft, after ./bootstrap runs successfully, ./build fails because pip starts in a broken state.

Can be fixed with:

. .venv/bin/activate
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python get-pip.py
thomaspaulb commented 2 years ago

Perhaps use this and "python -m pip" to be more system-independent:

https://youtu.be/C-soyQ9-wNs