Skip to content

Commit 0c19966

Browse files
hsiangjenlimattwang44
authored andcommitted
feat: trans venv
1 parent a61abba commit 0c19966

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

library/venv.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,12 @@ msgid ""
364364
"directory of it, you should recreate the environment in its new location. "
365365
"Otherwise, software installed into the environment may not work as expected."
366366
msgstr ""
367+
"因為在環境中安裝的腳本不應該預期環境已經啟用,所以它們的 ``#!`` 行會包含環境直譯器的絕對路徑。"
368+
"因此,在一般情況下,環境本質上是不可攜帶的。"
369+
"你應該使用一個簡單的方法來重新建立一個環境(例如:如果你有一個名為 ``requirements.txt``的需求檔案,你可以使用環境的 ``pip install -r requirements.txt`` 來安裝環境所需的所有套件)。"
370+
"如果出於某種原因你需要將環境移至新位置,你應該在所需位置重新創建它,並刪除舊位置的環境。"
371+
"如果你移動環境是因為移動了其父目錄,你應該在新位置重新創建環境。"
372+
"否則,安裝在該環境中的軟體可能無法正常運作。"
367373

368374
#: ../../library/venv.rst:128
369375
msgid ""

0 commit comments

Comments
 (0)