install pip ubuntu
sudo apt-get update
sudo apt install python3-pip
install pip ubuntu
sudo apt-get update
sudo apt install python3-pip
how to install packages inside thepython script
import sys
import subprocess
# implement pip as a subprocess:
subprocess.check_call([sys.executable, '-m', 'pip', 'install',
'<packagename>'])
how to install python libraries using pip
pip install package name
python -m pip install
# Use Chrome in selenium
# Run cmd type: python -m pip install webdriver-manager
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()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us