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 [2022/02/02 08:51] juckinspython_notes [2022/03/03 11:36] juckins
Line 1: Line 1:
 ==== Python Install Notes ==== ==== Python Install Notes ====
 +
 +__3 Mar 2022__
 +
 +Upgraded several python packages on both __physical__ and __virtual__ servers.
 +
 +  [root@tidewater: ~]# python3 -m pip list --outdated
 +  Package             Version        Latest         Type
 +  ------------------- -------------- -------------- -----
 +  charset-normalizer  2.0.11         2.0.12         wheel
 +  chromedriver-binary 98.0.4758.48.0 99.0.4844.51.0 sdist
 +  numpy               1.12.1         1.19.5         wheel
 +  pytesseract         0.3.8          0.3.9          wheel
 +
 +  [root@tidewater: ~]# python3 -m pip install --upgrade <package_name>
 +  
 +Fix chromedriver-binary permissions:
 +  
 +  [root@tidewater: ~]# find /usr -name "chromedriver" -exec ls -l {} \;
 +  [root@tidewater: ~]# chmod 755 /usr/local/lib/python3.6/site-packages/chromedriver_binary/chromedriver
 +  
 +The virtual server updates included the following:
 +
 +  [root@centos8S-vtatdb2-l: ~]# python3 -m pip list --outdated
 +  Package            Version  Latest   Type
 +  ------------------ -------- -------- -----
 +  charset-normalizer 2.0.11   2.0.12   wheel
 +  dbus-python        1.2.4    1.2.18   sdist
 +  ethtool            0.14     0.15     sdist
 +  httplib2           0.20.2   0.20.4   wheel
 +  imageio            2.14.1   2.16.0   wheel
 +  lxml               4.7.1    4.8.0    wheel
 +  ntplib             0.3.3    0.4.0    wheel
 +  pycairo            1.16.3   1.20.1   sdist
 +  pycups             1.9.72   2.0.1    sdist
 +  pycurl             7.43.0.2 7.44.1   sdist
 +  PyGObject          3.28.3   3.42.0   sdist
 +  pykickstart        3.35     3.37     sdist
 +  python-augeas      0.5.0    1.1.0    sdist
 +  pyudev             0.23.1   0.23.2   wheel
 +  simpleline         1.1.1    1.9.0    wheel
 +  slip               0.6.4    20191113 sdist
 +  typing_extensions  4.0.1    4.1.1    wheel
 +
  
 __2 Feb 2022__ __2 Feb 2022__
  
-Upgraded several python packages.+Upgraded several python packages on both __physical__ and __virtual__ servers.
  
-  [root@tidewater: ~]#  python3 -m pip list --outdated+  [root@tidewater: ~]# python3 -m pip list --outdated
   Package             Version        Latest         Type   Package             Version        Latest         Type
   ------------------- -------------- -------------- -----   ------------------- -------------- -------------- -----
Line 13: Line 56:
  
   [root@tidewater: ~]# python3 -m pip install --upgrade <package_name>   [root@tidewater: ~]# python3 -m pip install --upgrade <package_name>
 +  
 +Fix chromedriver-binary permissions:
 +  
 +  [root@tidewater: ~]# find /usr -name "chromedriver" -exec ls -l {} \;
 +  [root@tidewater: ~]# chmod 755 /usr/local/lib/python3.6/site-packages/chromedriver_binary/chromedriver
 +
 +The virtual server updates included the following:
 +
 +  [root@centos8S-vtatdb2-l: ~]# python3 -m pip list --outdated
 +  Package         Version     Latest   Type
 +  --------------- ----------- -------- -----
 +  beautifulsoup4  4.6.3       4.10.0   wheel
 +  blivet          3.4.0       3.4.3    wheel
 +  chardet         3.0.4       4.0.0    wheel
 +  coverage        4.5.1       6.2      wheel
 +  cssselect       0.9.2       1.1.0    wheel
 +  dasbus          1.2         1.6      wheel
 +  dbus-python     1.2.4       1.2.18   sdist
 +  decorator       4.2.1       5.1.1    wheel
 +  dictor          0.1.7       0.1.9    sdist
 +  dnspython       1.15.0      2.2.0    wheel
 +  ethtool         0.14        0.15     sdist
 +  html5lib        0.999999999 1.1      wheel
 +  httplib2        0.18.1      0.20.2   wheel
 +  humanize        0.5.1       3.14.0   wheel
 +  idna            2.5         3.3      wheel
 +  iniparse        0.4         0.5      wheel
 +  langtable       0.0.51      0.0.57   wheel
 +  lxml            4.2.3       4.7.1    wheel
 +  ntplib          0.3.3       0.4.0    wheel
 +  numpy           1.14.3      1.19.5   wheel
 +  ordered-set     2.0.2       4.0.2    sdist
 +  pexpect         4.3.1       4.8.0    wheel
 +  pid             2.1.1       3.0.4    wheel
 +  ply             3.9         3.11     wheel
 +  productmd       1.11        1.33     wheel
 +  psutil          5.4.3       5.9.0    wheel
 +  ptyprocess      0.5.2       0.7.0    wheel
 +  pycairo         1.16.3      1.20.1   sdist
 +  pycups          1.9.72      2.0.1    sdist
 +  pycurl          7.43.0.2    7.44.1   sdist
 +  PyGObject       3.28.3      3.42.0   sdist
 +  pykickstart     3.16.14     3.35     sdist
 +  pyparsing       2.1.10      3.0.7    wheel
 +  PySocks         1.6.8       1.7.1    wheel
 +  python-augeas   0.5.0       1.1.0    sdist
 +  python-dateutil 2.6.1       2.8.2    wheel
 +  pytz            2017.2      2021.3   wheel
 +  pyudev          0.21.0      0.23.1   wheel
 +  PyYAML          3.12        6.0      wheel
 +  requests        2.20.0      2.27.1   wheel
 +  requests-file   1.4.3       1.5.1    wheel
 +  scipy           1.0.0       1.5.4    wheel
 +  setuptools      39.2.0      59.6.0   wheel
 +  simpleline      1.1.1       1.9.0    wheel
 +  six             1.11.0      1.16.0   wheel
 +  slip            0.6.4       20191113 sdist
 +  urllib3         1.24.2      1.26.8   wheel
 +  wheel           0.36.2      0.37.1   wheel
 +
 +Most installed as user root; a few installed as non-admin user.
 +
 +These were unable to be updated:
 +
 +  $ python3 -m pip list --outdated
 +  Package     Version  Latest   Type
 +  ----------- -------- -------- -----
 +  dbus-python 1.2.4    1.2.18   sdist
 +  ethtool     0.14     0.15     sdist
 +  pycairo     1.16.3   1.20.1   sdist
 +  pycups      1.9.72   2.0.1    sdist
 +  PyGObject   3.28.3   3.42.0   sdist
 +  SLIP        20171205 20191113 sdist
  
 __20 Jan 2022__ __20 Jan 2022__
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins