Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


python_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python_notes [2018/09/03 09:45]
juckins
python_notes [2019/06/26 15:07] (current)
juckins
Line 1: Line 1:
 ==== Python Notes ==== ==== Python Notes ====
- 
-Use "​pip"​ to manage python packages: 
- 
-  # yum install python2-pip 
- 
-To list installed python modules: 
   ​   ​
-  $ pip list +Install ​Python 3.6 on CentOS 7: 
-   +  * https://​linuxhint.com/​install_python3_centos7/​
-Python 3 installation tips:+
   * https://​janikarhunen.fi/​how-to-install-python-3-6-1-on-centos-7.html   * https://​janikarhunen.fi/​how-to-install-python-3-6-1-on-centos-7.html
-  * http://ask.xmodulo.com/​install-python3-centos.html + 
-  ​* https://​medium.com/​@nnilesh7756/​installation-of-python-3-x-specific-version-on-centos-7-f93771d01c55 +Do some local configuration for my scripts: 
-  ​https://danieleriksson.net/2017/​02/​08/​how-to-install-latest-python-on-centos/+  pip3.install --upgrade pip 
 +  ​pip3.6 install ​--upgrade httplib2 
 +  ​pip3.6 install pymysql 
 +   
 +Notes about [[https://www.tutorialspoint.com/python3/python_database_access.htm|Python database access]]
  
 Python3.7 on Fedora 28: Python3.7 on Fedora 28:
Line 20: Line 17:
   * python3.7 get-pip.py   * python3.7 get-pip.py
   * python3.7 -m pip install requests   * python3.7 -m pip install requests
 +
 +Use "​pip"​ to manage python packages:
 +
 +  # yum install python2-pip
 +
 +To list installed python modules:
 +  ​
 +  $ pip list
python_notes.1535982300.txt.gz · Last modified: 2018/09/03 09:45 by juckins