mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
* Fix conda install instructions
This commit is contained in:
parent
9c24d0e7bb
commit
9bbc41c1e3
|
@ -15,13 +15,13 @@ mixin Option(name, open)
|
||||||
|
|
||||||
|
|
||||||
+Option("conda", true)
|
+Option("conda", true)
|
||||||
Sometimes conda is not up to date with the latest release. If you can't get the latest version on conda, you can always fall back to the pip install.
|
|
||||||
|
|
||||||
pre.language-bash: code
|
pre.language-bash: code
|
||||||
| $ conda config --add channels spacy
|
| $ conda config --add channels spacy
|
||||||
| $ conda install spacy
|
| $ conda install spacy
|
||||||
| $ python -m spacy.en.download
|
| $ python -m spacy.en.download
|
||||||
|
|
||||||
|
| Sometimes conda is not up to date with the latest release. If you can't get the latest version on conda, you can always fall back to the pip install.
|
||||||
|
|
||||||
+Option("pip and virtualenv", true)
|
+Option("pip and virtualenv", true)
|
||||||
p With Python 2.7 or Python 3, using Linux or OSX, ensure that you have the following packages installed:
|
p With Python 2.7 or Python 3, using Linux or OSX, ensure that you have the following packages installed:
|
||||||
|
|
||||||
|
@ -38,6 +38,13 @@ mixin Option(name, open)
|
||||||
| The download command fetches and installs about 500mb of data, for
|
| The download command fetches and installs about 500mb of data, for
|
||||||
| the parser model and word vectors, which it installs within the spacy
|
| the parser model and word vectors, which it installs within the spacy
|
||||||
| package directory.
|
| package directory.
|
||||||
|
|
||||||
|
p Usually you'll want to install spaCy within a #[a(href="https://virtualenv.readthedocs.org/en/latest/") virtualenv], to avoid modifying system state:
|
||||||
|
|
||||||
|
pre.language-bash: code
|
||||||
|
| virtualenv my_env_dir
|
||||||
|
| source my_env_dir/bin/activate
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+Option("Windows (64 bit)", true)
|
+Option("Windows (64 bit)", true)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user