python:pip

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
python:pip [2024/03/28 01:06] – [ディストリビューションの pip を最新版に更新する場合] ともやんpython:pip [2024/03/28 01:58] (現在) – [仮想環境の pip を最新版に更新する場合] ともやん
行 886: 行 886:
  
 === 仮想環境の pip を最新版に更新する場合 === === 仮想環境の pip を最新版に更新する場合 ===
-<code+<WRAP color_term> 
-(py3_venv) $ pip -V+<WRAP color_command><html><pre
 +(py3_venv) <font color="#FF8700"><b>$</b></font> <font color="#26A269">pip</font> <font color="#A347BA">-V</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre>
 pip 18.1 from /home/tomoyan/py3_venv/lib/python3.7/site-packages/pip (python 3.7) pip 18.1 from /home/tomoyan/py3_venv/lib/python3.7/site-packages/pip (python 3.7)
-</code>+</pre></html></WRAP> 
 +</WRAP>
  
 pip を最新版に更新する。\\ pip を最新版に更新する。\\
-<WRAP prewrap 100%+<WRAP color_term
-<code+<WRAP color_command><html><pre
-(py3_venv) $ python -m pip install -U pip+(py3_venv) <font color="#FF8700"><b>$</b></font> <font color="#26A269">python</font> <font color="#A347BA">-m</font> pip install <font color="#A347BA">-U</font> pip 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre>
 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
 Collecting pip Collecting pip
行 904: 行 910:
       Successfully uninstalled pip-18.1       Successfully uninstalled pip-18.1
 Successfully installed pip-21.1.1 Successfully installed pip-21.1.1
-</code>+</pre></html></WRAP>
 </WRAP> </WRAP>
  
 更新後のバージョン確認。\\ 更新後のバージョン確認。\\
-<code+<WRAP color_term> 
-(py3_venv) $ pip -V+<WRAP color_command><html><pre
 +(py3_venv) <font color="#FF8700"><b>$</b></font> <font color="#26A269">pip</font> <font color="#A347BA">-V</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre>
 pip 21.1.1 from /home/tomoyan/py3_venv/lib/python3.7/site-packages/pip (python 3.7) pip 21.1.1 from /home/tomoyan/py3_venv/lib/python3.7/site-packages/pip (python 3.7)
-</code>+</pre></html></WRAP> 
 +</WRAP>
  
 **pip list -o** が正常に利用できることを確認する。\\ **pip list -o** が正常に利用できることを確認する。\\
-<code+<WRAP color_term
-(py3_venv) $ pip list -o+<WRAP color_command><html><pre> 
 +<font color="#FF8700"><b>$</b></font> <font color="#26A269">pip</font> list <font color="#A347BA">-o</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre>
 Package    Version  Latest    Type Package    Version  Latest    Type
 ---------- -------- --------- ----- ---------- -------- --------- -----
行 923: 行 936:
 supervisor 4.2.1    4.2.2     wheel supervisor 4.2.1    4.2.2     wheel
 youtube-dl 2021.1.8 2021.4.26 wheel youtube-dl 2021.1.8 2021.4.26 wheel
-</code>+</pre></html></WRAP> 
 +</WRAP>
  
 ==== システムの古い pip ラッパー📯が新しい pip モジュールを実行してしまう場合🤔 ==== ==== システムの古い pip ラッパー📯が新しい pip モジュールを実行してしまう場合🤔 ====
  • python/pip.txt
  • 最終更新: 2024/03/28 01:58
  • by ともやん