mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-04 21:50:35 +03:00
Update venv docs in installation instructions
This commit is contained in:
parent
5591306478
commit
c83fe54f0c
|
@ -20,10 +20,10 @@ p Using pip, spaCy releases are currently only available as source packages.
|
||||||
|
|
||||||
p
|
p
|
||||||
| When using pip it is generally recommended to install packages in a
|
| When using pip it is generally recommended to install packages in a
|
||||||
| #[code virtualenv] to avoid modifying system state:
|
| virtual environment to avoid modifying system state:
|
||||||
|
|
||||||
+code(false, "bash").
|
+code(false, "bash").
|
||||||
virtualenv .env
|
venv .env
|
||||||
source .env/bin/activate
|
source .env/bin/activate
|
||||||
pip install spacy
|
pip install spacy
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ p
|
||||||
+table(["Command", "Description"])
|
+table(["Command", "Description"])
|
||||||
+row
|
+row
|
||||||
+cell #[code fab env]
|
+cell #[code fab env]
|
||||||
+cell Create #[code virtualenv] and delete previous one, if it exists.
|
+cell Create a virtual environment and delete previous one, if it exists.
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code fab make]
|
+cell #[code fab make]
|
||||||
|
@ -152,7 +152,7 @@ p
|
||||||
+cell Run basic tests, aborting after first failure.
|
+cell Run basic tests, aborting after first failure.
|
||||||
|
|
||||||
p
|
p
|
||||||
| All commands assume that your #[code virtualenv] is located in a
|
| All commands assume that your virtual environment is located in a
|
||||||
| directory #[code .env]. If you're using a different directory, you can
|
| directory #[code .env]. If you're using a different directory, you can
|
||||||
| change it via the environment variable #[code VENV_DIR], for example:
|
| change it via the environment variable #[code VENV_DIR], for example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user