Модуль ensurepip, стал стандартным начиная с версии 3.4 и портирован в 2.7
Это встроенная альтернатива файлу get-pip.py. Модуль позволяет установить или обновить pip.
🔸Установка pip:
python -m ensurepip
🔸Обновление до актуальной версии
python -m ensurepip --upgrade
🔸Установка в директорию юзера, если вас не устраивает системный или просто нет доступа для обновления (когда не используем venv, то есть ставим глобально)
python -m ensurepip --user
#libs#basic
🌍 More than 40% of the world's population is under age 25—a record share of young people. This youth wave is largest in Africa and South Asia, shaping future trends worldwide. ✨
#demography⚡#youth⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Since the 1990s, the number of people living outside their birthplace has more than doubled, with most international migration now happening between countries in Asia and Europe. ✨
#migration⚡#demography⚡#movement⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🌍 Some rural areas in Eastern Europe are experiencing net population loss as younger generations migrate westward, leaving behind villages with only a handful of elderly residents. ✨
#migration⚡#demography⚡#Europe⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Just 2% of the world’s population lives in countries with fewer than one million people, while over half reside in just seven nations, highlighting an immense population imbalance. ✨
#population⚡#demography⚡#distribution⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels