From 47dde9c3a885a5ec656464de66735f40389163ac Mon Sep 17 00:00:00 2001 From: Manxin Xu Date: Tue, 26 Mar 2024 10:10:42 +0800 Subject: [PATCH] fix environment issue --- .../workflows/script/unitTest/run_unit_test_neuralchat.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/script/unitTest/run_unit_test_neuralchat.sh b/.github/workflows/script/unitTest/run_unit_test_neuralchat.sh index ebaead97cfd6..c47c0aa147d5 100644 --- a/.github/workflows/script/unitTest/run_unit_test_neuralchat.sh +++ b/.github/workflows/script/unitTest/run_unit_test_neuralchat.sh @@ -87,8 +87,9 @@ function main() { apt-get install -y libgl1-mesa-glx apt-get install -y libgl1-mesa-dev apt-get install libsm6 libxext6 -y - brew install tesseract - brew install poppler + apt-get install tesseract-ocr -y + apt-get install libtesseract-dev -y + apt-get install poppler-utils -y wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb python -m pip install --upgrade --force-reinstall torch==2.2.0