Skip to content

Commit c07ca3a

Browse files
committed
try simplify deps
1 parent 449bdbc commit c07ca3a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

make.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ if [[ "${DEPS}" == "1" ]]; then
7070
if [ "${OS}" == "Linux" ]; then
7171
DISTRO="$(lsb_release -i | awk -F':\t' '{print $2}')"
7272
if [[ "${DISTRO}" == "Ubuntu" ]]; then
73-
sudo apt -y install python3-pip libpython3-dev python3-setuptools && pip3 install -U numpy cython && pip3 install -U spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (linux), exiting."
73+
#sudo apt -y install python3-pip libpython3-dev python3-setuptools && pip3 install -U numpy cython && pip3 install -U spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (linux), exiting."
74+
pip3 install -U spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (linux), exiting."
7475
else
7576
exiterr "deps failed (unsupported linux distro ${DISTRO}), exiting."
7677
fi
7778
elif [ "${OS}" == "Darwin" ]; then
78-
pip3 install -U numpy spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (mac), exiting."
79+
#pip3 install -U numpy spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (mac), exiting."
80+
pip3 install -U spacy && python3 -m spacy download en_core_web_sm || exiterr "deps failed (mac), exiting."
7981
else
8082
exiterr "deps failed (unsupported os ${OS}), exiting."
8183
fi

0 commit comments

Comments
 (0)