python:venv

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:venv [2019/08/15 11:24] ともやんpython:venv [2020/01/31 05:51] ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<script> 
-     (adsbygoogle = window.adsbygoogle || []).push({ 
-          google_ad_client: "ca-pub-0791334967460971", 
-          enable_page_level_ads: true 
-     }); 
-</script></html></ifauth> 
 <html> <html>
   <style>   <style>
行 22: 行 14:
 ==== Linux ==== ==== Linux ====
 <code> <code>
-$ python -m venv py37+$ python -m venv py38
 </code> </code>
  
 ==== Windows ==== ==== Windows ====
 <code> <code>
-> python -m venv py37+> python -m venv py38
 </code> </code>
-^py37^^| 仮想環境フォルダ  |+^py38^^| 仮想環境フォルダ  |
 | + ^Include^^^ | + ^Include^^^
 | + ^Lib^^^ | + ^Lib^^^
行 45: 行 37:
 ==== Linux ==== ==== Linux ====
 <code> <code>
-py37/bin/activate +py38/bin/activate 
-(py37) $+(py38) $
 </code> </code>
  
 ==== Windows ==== ==== Windows ====
 <code> <code>
-py37\Scripts\activate +py38\Scripts\activate 
-(py37) >+(py38
 +</code> 
 + 
 +===== 仮想環境の pip を更新 ===== 
 + 
 +==== Linux ==== 
 +<code> 
 +(py38) $ python -m pip install --upgrade pip 
 +</code> 
 + 
 +==== Windows ==== 
 +<code> 
 +(py38) > python -m pip install --upgrade pip 
 +>
 </code> </code>
  
 ===== 仮想環境の終了 ===== ===== 仮想環境の終了 =====
 +
 ==== Linux ==== ==== Linux ====
 <code> <code>
-(py37) $ deactivate+(py38) $ deactivate
 $ $
 </code> </code>
行 64: 行 70:
 ==== Windows ==== ==== Windows ====
 <code> <code>
-(py37) > deactivate+(py38) > deactivate
 > >
 </code> </code>
  
  
  • python/venv.txt
  • 最終更新: 2023/03/08 19:50
  • by ともやん