Difference between revisions of "Template:Pip"

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#vardefine:package|{{{1|pyLodStorage}}}}}
 
=== upgrade ===
 
=== upgrade ===
 
{{#tag:source|
 
{{#tag:source|
pip install ConferenceCorpus -U
+
pip install {{#var:package}}  -U
 
# alternatively if your pip is not a python3 pip
 
# alternatively if your pip is not a python3 pip
pip3 install ConferenceCorpus -U
+
pip3 install {{#var:package}} -U
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 08:21, 13 October 2021

This is a template to describe the installation procedure via pip for a python package

Usage

Example

{{pip|pyLodStorage}}


upgrade

pip install pyLodStorage  -U
# alternatively if your pip is not a python3 pip
pip3 install pyLodStorage -U