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 [2019/12/11 13:23] – juckins | python_notes [2020/10/06 16:10] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Python Notes ==== | + | ==== Python |
+ | |||
+ | __6 Oct 2020__ | ||
+ | # python3 -m pip install demjson | ||
+ | # python3 -m pip install wheel | ||
+ | |||
+ | __26 Aug 2020__ | ||
+ | |||
+ | Updated Chrome via yum to version 85.0.4183.83-1 and now check_envoy.pl fails. | ||
+ | |||
+ | Did the following as root to fix: | ||
+ | |||
+ | # / | ||
+ | # / | ||
+ | # / | ||
+ | # find /usr -name " | ||
+ | # chmod 755 / | ||
+ | |||
+ | Re-ran the cron and script worked. | ||
+ | |||
+ | __20 May 2020__ | ||
+ | |||
+ | Updated Chrome via yum to version 83.0.4103.61-1 and now check_envoy.pl fails. | ||
+ | |||
+ | Did the following as root to fix: | ||
+ | |||
+ | # / | ||
+ | # / | ||
+ | # / | ||
+ | # find /usr -name " | ||
+ | # chmod 755 / | ||
+ | |||
+ | Re-ran the cron and script worked. | ||
+ | |||
+ | Then tried looking at old packages needing an update: | ||
+ | |||
+ | # cd / | ||
+ | # ./pip3 list --outdated | ||
+ | # pip_upgrade_outdated | ||
+ | |||
+ | __8 April 2020__ | ||
+ | |||
+ | Upgraded Chrome via yum to version 81.0.4044.92 and now check_envoy.pl fails. | ||
+ | |||
+ | Did the following as root to fix: | ||
+ | |||
+ | # / | ||
+ | # / | ||
+ | # / | ||
+ | |||
+ | # cd / | ||
+ | # ./pip3 install --upgrade | ||
+ | # ./pip3 list --outdated | ||
+ | # pip_upgrade_outdated | ||
+ | |||
+ | # find /usr -name " | ||
+ | |||
+ | / | ||
+ | |||
+ | # chmod 755 / | ||
+ | |||
+ | The pip upgrade moved the astral package to v2.1 which broke sun.py and it needed some major changes. | ||
| | ||
__11 December 2019__ | __11 December 2019__ | ||
- | Upgraded Chrome via yum and selenium, | + | Upgraded Chrome via yum to version 79.0.3945.79 |
+ | |||
+ | Did the following as root to fix: | ||
+ | |||
+ | # / | ||
+ | # / | ||
+ | # / | ||
+ | # pip-upgrade-outdated | ||
+ | |||
+ | # find /usr -name " | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | # chmod 755 / | ||
- | Did the following as root: | + | Note that both **/ |
- | / | ||
- | / | ||
- | / | ||
- | pip-upgrade-outdated | ||
Line 67: | Line 138: | ||
| | ||
$ 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