mirror of https://github.com/tiangolo/fastapi.git
Improve wording about virtual environment activation
Clarify that once a virtual environment is activated, newly installed packages become available immediately and re-activating the environment is usually unnecessary.
This commit is contained in:
parent
04b279fe77
commit
73cc45b87b
|
|
@ -164,7 +164,7 @@ $ source .venv/Scripts/activate
|
|||
|
||||
/// tip
|
||||
|
||||
Every time you install a **new package** in that environment, **activate** the environment again.
|
||||
Once a virtual environment is activated, newly installed **packages** become available immediately, so re-activating the environment is usually not necessary.
|
||||
|
||||
This makes sure that if you use a **terminal (<abbr title="command line interface">CLI</abbr>) program** installed by that package, you use the one from your virtual environment and not any other that could be installed globally, probably with a different version than what you need.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue