python_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
python_notes [2020/08/26 18:24] – juckins | python_notes [2020/10/11 12:39] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Python Notes ==== | + | ==== Python |
+ | |||
+ | __11 Oct 2020__ | ||
+ | |||
+ | To upgrade pip modules manually when dependencies give an error: | ||
+ | # python3 -m pip --list outdated | ||
+ | # python3 -m pip install --upgrade < | ||
+ | |||
+ | __9 Oct 2020__ | ||
+ | |||
+ | Updated Chrome via yum to version 86.0.4240.75-1 and now check_envoy.pl fails. | ||
+ | |||
+ | Did the following as root (checked on the VM " | ||
+ | |||
+ | # / | ||
+ | # / | ||
+ | # / | ||
+ | # find /usr -name " | ||
+ | # chmod 755 / | ||
+ | |||
+ | __6 Oct 2020__ | ||
+ | # python3 -m pip install demjson | ||
+ | # python3 -m pip install wheel | ||
__26 Aug 2020__ | __26 Aug 2020__ | ||
Line 7: | Line 29: | ||
Did the following as root to fix: | Did the following as root to fix: | ||
- | # /usr/local/bin/pip3 uninstall chromedriver-binary | + | # /usr/bin/python3 -m pip uninstall chromedriver-binary |
- | # /usr/local/bin/pip3 install chromedriver-binary | + | # /usr/bin/python3 -m pip install chromedriver-binary |
# / | # / | ||
# find /usr -name " | # find /usr -name " | ||
Line 134: | Line 156: | ||
| | ||
$ pip list | $ pip list | ||
- | | ||
- | [[https:// | ||
- | |||
- | logging.basicConfig(format=' | ||
- | logging.debug(' | ||
- | logging.info(' | ||
- | logging.warning(' | ||
- | |||
- | |||
- | [[https:// |
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins