diff --git a/website/usage/_install/_troubleshooting.jade b/website/usage/_install/_troubleshooting.jade index c846ff957..2135f323a 100644 --- a/website/usage/_install/_troubleshooting.jade +++ b/website/usage/_install/_troubleshooting.jade @@ -38,9 +38,10 @@ p | #[code spacy/data] directory. This means your user needs permission to do | this. The above error mostly occurs when doing a system-wide installation, | which will create the symlinks in a system directory. Run the - | #[code download] or #[code link] command as administrator, or use a - | #[code virtualenv] to install spaCy in a user directory, instead - | of doing a system-wide installation. + | #[code download] or #[code link] command as administrator (on Windows, + | simply right-click on your terminal or shell ans select "Run as + | Administrator"), or use a #[code virtualenv] to install spaCy in a user + | directory, instead of doing a system-wide installation. +h(3, "no-cache-dir") No such option: --no-cache-dir diff --git a/website/usage/_models/_install-basics.jade b/website/usage/_models/_install-basics.jade index 7b32e3333..3fb8fa00c 100644 --- a/website/usage/_models/_install-basics.jade +++ b/website/usage/_models/_install-basics.jade @@ -31,3 +31,13 @@ p import spacy nlp = spacy.load('en') doc = nlp(u'This is a sentence.') + ++infobox("Important note", "⚠️") + | To allow loading models via convenient shortcuts like #[code 'en'], spaCy + | will create a symlink within the #[code spacy/data] directory. This means + | that your user needs the #[strong required permissions]. + | If you've installed spaCy to a system directory and don't have admin + | privileges, the model linking may fail. The easiest solution + | is to re-run the command as admin, or use a #[code virtualenv]. For more + | info on this, see the + | #[+a("/usage/#symlink-privilege") troubleshooting guide]. diff --git a/website/usage/_models/_install.jade b/website/usage/_models/_install.jade index 769d3f2d6..7473e41a6 100644 --- a/website/usage/_models/_install.jade +++ b/website/usage/_models/_install.jade @@ -132,7 +132,7 @@ p # set up shortcut link to load local model as "my_amazing_model" python -m spacy link /Users/you/model my_amazing_model -+infobox("Important note") ++infobox("Important note", "⚠️") | In order to create a symlink, your user needs the #[strong required permissions]. | If you've installed spaCy to a system directory and don't have admin | privileges, the #[code spacy link] command may fail. The easiest solution