8000 feat: trans venv · python/python-docs-zh-tw@99b3536 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99b3536

Browse files
committed
feat: trans venv
1 parent 92e4eba commit 99b3536

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

364370
#: ../../library/venv.rst:128
365371
msgid ""

0 commit comments

Comments
 (0)
0