Fix from source quickstart instructions for Windows

See: https://stackoverflow.com/a/50478036/6400719
This commit is contained in:
ines 2018-05-24 12:42:16 +02:00
parent 432ede04af
commit 8adb967e0c
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@
+qs({package: 'source'}) git clone https://github.com/explosion/spaCy
+qs({package: 'source'}) cd spaCy
+qs({package: 'source'}) export PYTHONPATH=`pwd`
+qs({package: 'source', os: 'mac'}) export PYTHONPATH=`pwd`
+qs({package: 'source', os: 'linux'}) export PYTHONPATH=`pwd`
+qs({package: 'source', os: 'windows'}) set PYTHONPATH=/path/to/spaCy
+qs({package: 'source'}) pip install -r requirements.txt
+qs({package: 'source'}) python setup.py build_ext --inplace