From 1e564be422794271ffced48b37770f42968f77c7 Mon Sep 17 00:00:00 2001 From: zhangbaowen Date: Sat, 12 Oct 2024 15:40:09 +0800 Subject: [PATCH] Fix Ubuntu Script Malfunction Issues Modify the script-related content to ensure that pip3 installs consistent software versions across different platforms. --- deploy/build/README.CentOS.bash | 2 +- deploy/build/README.Ubuntu.bash | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy/build/README.CentOS.bash b/deploy/build/README.CentOS.bash index ee9799d816e..61571a9aa01 100755 --- a/deploy/build/README.CentOS.bash +++ b/deploy/build/README.CentOS.bash @@ -30,7 +30,7 @@ sudo yum install -y \ postgresql \ postgresql-devel -sudo pip3 install conan +sudo pip3 install conan==1.50.0 sudo pip3 install -r ../../python-dependencies.txt sudo tee -a /etc/sysctl.conf << EOF diff --git a/deploy/build/README.Ubuntu.bash b/deploy/build/README.Ubuntu.bash index ec9ca3ee752..6acb76a008c 100755 --- a/deploy/build/README.Ubuntu.bash +++ b/deploy/build/README.Ubuntu.bash @@ -20,6 +20,7 @@ sudo apt-get install -y \ libkrb5-dev \ libpam-dev \ libperl-dev \ + libpq-dev \ libreadline-dev \ libssl-dev \ libxerces-c-dev \ @@ -35,12 +36,10 @@ sudo apt-get install -y \ pkg-config \ python3-dev \ python3-pip \ - python3-psutil \ - python3-pygresql \ - python3-yaml \ zlib1g-dev -pip3 install conan +sudo pip3 install conan==1.50.0 +sudo pip3 install -r ../../python-dependencies.txt sudo tee -a /etc/sysctl.conf << EOF kernel.shmmax = 5000000000000