pip install -m code example
Example 1: python -m pip install
python -m pip install moduleName
Example 2: pip install --upgrade
pip install --upgrade <library_name>
Example 3: python -m pip install
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
browser = webdriver.Chrome(ChromeDriverManager().install())
browser.get('https://www.legifrance.gouv.fr')
searchElem = browser.find_element_by_css_selector('#query')
searchElem.send_keys('jurisprudence')
searchElem.submit()
browser.back()
Example 4: py -m pip
py -m pip install "package"