Differences

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

Link to this comparison view

Both sides previous revision Previous revision
code:python:home [2019/12/16 08:40]
gerardorourke [Network Config Templating using Ansible]
code:python:home [2020/01/14 19:44] (current)
gerardorourke [Network Config Templating using Ansible]
Line 1: Line 1:
 +====== Python ======
 +
 ====== Python ====== ====== Python ======
  
Line 5: Line 7:
 https://​pynet.twb-tech.com/​blog/​ansible/​ansible-cfg-template-p2.html https://​pynet.twb-tech.com/​blog/​ansible/​ansible-cfg-template-p2.html
 https://​pynet.twb-tech.com/​blog/​ansible/​ansible-cfg-template-p3.html https://​pynet.twb-tech.com/​blog/​ansible/​ansible-cfg-template-p3.html
 +
 +===== Modules =====
 +
 +==== Install Modules without internet access ====
 +
 +  * Download Module wheel file
 +  * Install using the **--no-deps** option
 +  * Note - you must have pip and python accessible via command line - so add to user's path env
 +
 +Example
 +<​code>​
 +pip install idna-2.8-py2.py3-none-any.whl --no-deps
 +</​code>​
 +
 +Example Path
 +<​code>​
 +C:​\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\;​C:​\Users\3porourke1\AppData\Local\Programs\Python\Python38-32\Scripts\
 +</​code>​