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
rb:python [24/06/2019 11:13]
andrew [Lists and Dicts]
rb:python [25/09/2019 15:38] (current)
andrew [Install pip3]
Line 2: Line 2:
  "​Eventually I got better -- I started making my own mistakes."​  "​Eventually I got better -- I started making my own mistakes."​
 +===== Install pip3 =====
 +<code python>
 +# apt-cache search python3-pip
 +python3-pip - Python package installer
 +root@sysmgmt:​~#​ apt-get install python3-pip
 +Reading package lists... Done
 +Building dependency tree       
 +Reading state information... Done
 +The following additional packages will be installed:
 +  binutils binutils-common binutils-x86-64-linux-gnu b
Line 21: Line 38:
 (venv) $ _ (venv) $ _
 </​code>​ </​code>​
 +''​pip freeze''​ shows current modules, so echo this to ''​requirements.txt''​ to automatically load modules ​
 +  pip freeze > requirements.txt
-pip freeze > requirements.txt+To quit the venv, use ''​deactivate''​ command (which venv adds to your path)

rb/python.1561371218.txt.gz ยท Last modified: 24/06/2019 11:13 by andrew