Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


python_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
python_notes [2021/03/03 11:34] juckinspython_notes [2021/05/03 08:24] juckins
Line 1: Line 1:
 ==== Python Install Notes ==== ==== Python Install Notes ====
 +
 +__15 Apr 2021__
 +
 +Updated various python packages, including chromedriver-binary
  
 __3 Mar 2021__ __3 Mar 2021__
  
  
-  These packages were outdated:+These packages were outdated:
      
   # python3 -m pip list --outdated   # python3 -m pip list --outdated
Line 26: Line 30:
   python3 -m pip install --upgrade <package_name>   python3 -m pip install --upgrade <package_name>
      
-except for PyMySQL.  Need to check python scripts first.+<color #ed1c24>except for PyMySQL.  'tidewater' needs updates to mariadb v10.</color>  Need to check python scripts first for ASMAD (and test on VM first).
  
 __18 Nov 2020__ __18 Nov 2020__
Line 69: Line 73:
   # /usr/bin/python3 -m pip uninstall chromedriver-binary   # /usr/bin/python3 -m pip uninstall chromedriver-binary
   # /usr/bin/python3 -m pip install chromedriver-binary   # /usr/bin/python3 -m pip install chromedriver-binary
 +  
 +Note: you can also do specific versions of chromedrive-binary:
 +
 +  # python3 -m pip install chromedriver-binary==90.0.4430.24.0
 +
   # /usr/bin/python3 -m pip install --upgrade pip   # /usr/bin/python3 -m pip install --upgrade pip
   # find /usr -name "chromedriver" -exec ls -l {} \;   # find /usr -name "chromedriver" -exec ls -l {} \;
Line 176: Line 185:
   pip3.6 install --upgrade httplib2   pip3.6 install --upgrade httplib2
   pip3.6 install pymysql   pip3.6 install pymysql
 +  pip3.6 install selenium
   pip3.6 install selenium-wire   pip3.6 install selenium-wire
   pip3.6 install chromedriver   pip3.6 install chromedriver
Line 182: Line 192:
   pip3.6 install wget   pip3.6 install wget
   pip3.6 install pip-upgrade-outdated   pip3.6 install pip-upgrade-outdated
 +  pip3.6 install pytz
 +  pip3.6 install astral
 +
 +Note: replace the "pip3.6 install" with "/usr/bin/python3 -m pip install"
      
 To update all pip packages: To update all pip packages:
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins