Install pip for pyton 2.7 on mac

broken image
broken image
broken image

Type this code or just copy paste it into your blank python IDE what ever you are using and save it as ' mypip.py' inside the python folder where it is installed.Īssuming your python is installed inside.Ĭ:/user/python/python37 so save it inside python37 folder. system(pip_install + install_input) print ( 'Done' ) restart_program()

broken image

argv) # For Python 2.7+ to 3.4+ users use python # For python 3.7+ users use python3 # I am using python3.7+ pip_install = 'python3 -m pip install ' #pip_install = 'python -m pip install ' #For python2+ install_input = input( 'What Module you want to install?:- ' ) print (pip_install + install_input) os. #Dev:- Joel Dcosta#Telegram:- #FB Group:- #FB Page:- # import os import sys def restart_program (): python = sys.