python:venv

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:venv [2020/01/31 05:51] ともやんpython:venv [2020/04/06 08:31] – [Linux] ともやん
行 16: 行 16:
 $ python -m venv py38 $ python -m venv py38
 </code> </code>
 +^py38^^^| 仮想環境フォルダ  |
 +| + ^include^^^^
 +| + ^lib^^^^
 +|%%|%%| + ^python3.8^^^
 +|%%|%%|%%|%%| + ^site-packages| 仮想環境のパッケージ  |
 +| + ^bin^^^^
 +|%%|%%| + |activate|| 仮想環境を有効化 (bash)  |
 +|%%|%%| + |activate.csh|| 仮想環境を有効化 (C shell)  |
 +|%%|%%| + |activate.fish|| 仮想環境を有効化 (fish shell)  |
 +|%%|%%| + |pip|| pip コマンド  |
 +|%%|%%| + |pip3|| :::  |
 +|%%|%%| + |pip3.8|| :::  |
 +|%%|%%| + |python|| python コマンド  |
 +|%%|%%| + |python3|| :::  |
  
 ==== Windows ==== ==== Windows ====
行 37: 行 51:
 ==== Linux ==== ==== Linux ====
 <code> <code>
-$ py38/bin/activate+source py38/bin/activate 
 +(py38) $ 
 +</code> 
 +または 
 +<code> 
 +$ . py38/bin/activate
 (py38) $ (py38) $
 </code> </code>
  • python/venv.txt
  • 最終更新: 2023/03/08 19:50
  • by ともやん