linux_wiki:python

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
Next revision Both sides next revision
linux_wiki:python [2018/07/06 07:02]
billdozor [Python3 Install: EPEL]
linux_wiki:python [2018/07/06 07:03]
billdozor [Pip Commands]
Line 42: Line 42:
  
 ===== Install Pip ===== ===== Install Pip =====
-<code bash> 
-wget https://bootstrap.pypa.io/get-pip.py 
-python get-pip.py 
-</code> 
  
 +Install Pip into a Python environment
 +  * Python2<code bash>wget https://bootstrap.pypa.io/get-pip.py
 +python get-pip.py</code>
 +  * Python3<code bash>wget https://bootstrap.pypa.io/get-pip.py
 +python3.6 get-pip.py</code>
 +
 +\\
 +Install devel packages that many pip builds rely upon
 +  * Python2<code bash>yum install gcc python-devel</code>
 +  * Python3.4<code bash>yum install gcc python34-devel</code>
 +  * Python3.6<code bash>yum install gcc python36-devel</code>
 ===== Pip Commands ===== ===== Pip Commands =====
 +
 +**Python 2 vs Python 3 pip commands**
 +  * **Python 2**<code bash>pip <command></code>
 +  * **Python 3**<code bash>pip3 <command></code>
 +
 +\\
 List installed python modules List installed python modules
 <code bash> <code bash>
  • linux_wiki/python.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)