File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,19 @@ and then create a new folder under
2424``$HOME/nltk_data/corpora/omw/your_language `` where you put the file
2525from wiki/wn-wikt-your_language.tab, and rename it to
2626wn-data-your_language.tab.
27+
28+ If you get the message
29+
30+ ::
31+
32+ OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
33+
34+ There is a problem with the ``spacy `` the library for advanced Natural Language Processing in Python.
35+
36+ You might be able to fix this running:
37+
38+ ::
39+
40+ python -m spacy download en
41+
42+ Adjust "python" and "en" (the language you want) above as needed.
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ for pyversion in $PYVERSIONS; do
2929 # Pick out first two number of version, e.g. 3.7.9 -> 37
3030 first_two=$( echo $pyversion | cut -d' .' -f 1-2 | sed -e ' s/\.//' )
3131 rm -fr build
32+ python setup.py develop
3233 python setup.py bdist_egg
3334 python setup.py bdist_wheel
3435 python setup.py bdist_wheel --universal
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55 echo " This script should be *sourced* rather than run directly through bash"
66 exit 1
77fi
8- export PYVERSIONS=' 3.6.12 3.7.9 3.8.6 3.9.0 '
8+ export PYVERSIONS=' 3.6.12 3.7.9 3.8.6'
Original file line number Diff line number Diff line change 3939 # don't pack Mathics in egg because of media files, etc.
4040 zip_safe = False ,
4141 maintainer = "Mathics Group" ,
42+ long_description_content_type = "text/x-rst" ,
4243 # metadata for upload to PyPI
4344 classifiers = [
4445 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments