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 [2019/09/30 17:06] juckinspython_notes [2019/12/11 13:48] juckins
Line 1: Line 1:
 ==== Python Notes ==== ==== Python Notes ====
      
 +__11 December 2019__
 +
 +Upgraded Chrome via yum to version 79.0.3945.79 and now check_envoy.pl fails.
 +
 +Did the following as root to fix:
 +
 +  # /usr/local/bin/pip3 uninstall chromedriver-binary
 +  # /usr/local/bin/pip3 install chromedriver-binary
 +  # /usr/local/bin/pip3 install pip-upgrade-outdated
 +  # pip-upgrade-outdated
 +  
 +  # find /usr -name "chromedriver"
 +  
 +  /usr/lib/python3.6/site-packages/chromedriver
 +  /usr/local/lib/python3.6/site-packages/chromedriver_binary/chromedriver
 +
 +  # chmod 755 /usr/local/lib/python3.6/site-packages/chromedriver_binary/chromedriver
 +
 +Note that both **/usr/bin/pip3.6** and **/usr/local/bin/pip3.6** exist on the system now.
 +
 +
 +
 +----
 +
 With CentOS7.7, python3 can load from base.  Do the following to fix previously-installed IUS release: With CentOS7.7, python3 can load from base.  Do the following to fix previously-installed IUS release:
  
Line 9: Line 33:
   * Then follow instructions for installing local python packages to ensure all still work.     * Then follow instructions for installing local python packages to ensure all still work.  
   * If you have pip problems, uninstall/reinstall using instructions at https://pip.pypa.io/en/stable/installing/   * If you have pip problems, uninstall/reinstall using instructions at https://pip.pypa.io/en/stable/installing/
-  * Ensure pip3.6 is in your $PATH or you have a sym link to it in /usr/bin+  * Ensure pip3.6 is in your $PATH or you have a sym link to it (/usr/local/bin) in /usr/bin
  
 __Install Python 3.6 on CentOS 7__: __Install Python 3.6 on CentOS 7__:
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins