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/06/08 10:04] – juckins | python_notes [2019/09/04 14:13] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Python Notes ==== | ==== Python Notes ==== | ||
+ | | ||
+ | Install Python 3.6 on CentOS 7: | ||
+ | * https:// | ||
+ | * https:// | ||
- | Use "pip" to manage python packages: | + | Do some local configuration for my scripts: |
+ | pip3.6 install --upgrade | ||
+ | pip3.6 install --upgrade httplib2 | ||
+ | pip3.6 install pymysql | ||
+ | pip3.6 install selenium-wire | ||
+ | pip3.6 install chromedriver | ||
+ | pip3.6 install chromedriver_binary | ||
+ | |||
+ | Download and install geckodriver (see https:// | ||
- | # yum install python2-pip | + | As root, copy geckodriver to / |
- | To list installed python modules: | + | Notes at https:// |
| | ||
- | $ pip list | + | Notes about [[https://www.tutorialspoint.com/python3/python_database_access.htm|Python database access]] |
- | + | ||
- | Python 3 installation tips: | + | |
- | * https://linuxhint.com/ | + | |
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
Python3.7 on Fedora 28: | Python3.7 on Fedora 28: | ||
Line 20: | Line 26: | ||
* python3.7 get-pip.py | * python3.7 get-pip.py | ||
* python3.7 -m pip install requests | * python3.7 -m pip install requests | ||
+ | |||
+ | Use " | ||
+ | |||
+ | # yum install python2-pip | ||
+ | |||
+ | To list installed python modules: | ||
+ | | ||
+ | $ pip list |
python_notes.txt · Last modified: 2023/04/05 08:56 by juckins