"Install spaCy" webpage, auto-gen pip command line apostrophe issue for CUDA selection #13975
Replies: 1 comment
-
|
You're right: this is a command-generator bug, not a spaCy or CUDA packaging problem. The quickstart currently wraps every pip requirement with extras in POSIX single quotes (source). In A portable Windows command is: py -m pip install -U "spacy[cuda12x]"Double quotes also work in PowerShell and POSIX shells, and they still prevent shells from interpreting the brackets. Removing the quotes happens to work here because the argument contains no spaces, but emitting double quotes is the safer cross-shell fix. The same generator should use double quotes for its editable source-install extras as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
At the 'Install spaCy' page.
If you select Windows, x86, pip, GPU and CUDA version then the following generated pip command line erroneously has apostrophes added. Removing apostrophes manually seemed to be remedy.
pip install -U 'spacy[cuda12x]'
this worked...
pip install -U spacy[cuda12x]
Beta Was this translation helpful? Give feedback.
All reactions