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/10/06 16:10] – juckins | python_notes [2021/05/02 11:00] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Python Install Notes ==== | ==== Python Install Notes ==== | ||
+ | |||
+ | __15 Apr 2021__ | ||
+ | |||
+ | Updated various python packages, including chromedriver-binary | ||
+ | |||
+ | __3 Mar 2021__ | ||
+ | |||
+ | |||
+ | These packages were outdated: | ||
+ | | ||
+ | # python3 -m pip list --outdated | ||
+ | Package | ||
+ | ------------------- -------------- -------------- ----- | ||
+ | certifi | ||
+ | chardet | ||
+ | chromedriver-binary 87.0.4280.20.0 89.0.4389.23.0 sdist | ||
+ | httplib2 | ||
+ | idna 2.10 | ||
+ | PyMySQL | ||
+ | pytz 2020.4 | ||
+ | requests | ||
+ | selenium-wire | ||
+ | setuptools | ||
+ | urllib3 | ||
+ | wheel | ||
+ | |||
+ | Upgraded all using: | ||
+ | |||
+ | python3 -m pip install --upgrade < | ||
+ | | ||
+ | <color # | ||
+ | |||
+ | __18 Nov 2020__ | ||
+ | |||
+ | Manually updated chrome to v87. | ||
+ | Ran the following: | ||
+ | |||
+ | python3 -m pip list --outdated | ||
+ | | ||
+ | With the resulting list, then ran the following for each < | ||
+ | python3 -m pip install --upgrade < | ||
+ | |||
+ | __11 Oct 2020__ | ||
+ | |||
+ | To upgrade pip modules manually when dependencies give an error: | ||
+ | # python3 -m pip --list outdated | ||
+ | # python3 -m pip install --upgrade < | ||
+ | | ||
+ | These are reported as outdated: | ||
+ | |||
+ | [root: ~]# python3 -m pip list --outdated | ||
+ | Package | ||
+ | ------------- ---------- --------- ----- | ||
+ | certifi | ||
+ | idna 2.9 2.10 wheel | ||
+ | requests | ||
+ | selenium-wire 1.0.12 | ||
+ | setuptools | ||
+ | urllib3 | ||
+ | | ||
+ | All upgraded using the command: | ||
+ | |||
+ | 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__ | __6 Oct 2020__ | ||
Line 11: | Line 87: | ||
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 110: | Line 186: | ||
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 | ||
| | ||
To update all pip packages: | To update all pip packages: |
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins