python_notes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
python_notes [2017/08/29 08:36] – created juckins | python_notes [2019/09/04 16:59] – 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 | ||
+ | pip3.6 install dictor | ||
+ | |||
+ | Download and install geckodriver (see https:// | ||
- | # yum install python2-pip | + | As root, copy geckodriver to / |
- | + | ||
- | # pip list | + | Notes at https:// |
| | ||
+ | Notes about [[https:// | ||
+ | Python3.7 on Fedora 28: | ||
+ | * dnf install python37 | ||
+ | * wget https:// | ||
+ | * python3.7 get-pip.py | ||
+ | * 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