Skip to content

Commit b702573

Browse files
committed
Update autoinstall_linux.sh
1 parent 112129f commit b702573

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoinstall_linux.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
sudo apt-get update -y
55

66
# Установить python3, pip, git и зависимости
7-
sudo apt-get install -y python3-full python3-venv python3-pip git bbuild-essential libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
7+
sudo apt-get install -y python3-full python3-venv python3-pip python-is-python3 git build-essential libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
88

99
# Клонировать репозиторий
1010
git clone https://github.com/Em1tSan/NeuroGPT.git
@@ -19,7 +19,7 @@ git pull
1919
# Проверка версии Python
2020
version=$(python3 --version)
2121
version=${version:7}
22-
if [[ "$version" < "3.10.0" ]]; then
22+
if [[ "$version" < "3.9.0" ]]; then
2323
echo "Your version of Python ${version} is not supported. Please install Python 3.10.X"
2424
exit 1
2525
elif [[ "$version" > "3.11.14" ]]; then
@@ -29,7 +29,7 @@ fi
2929

3030
# Создание и активация виртуальной среды
3131
python3 -m venv venv
32-
source venv/bin/activate
32+
. venv/bin/activate
3333

3434
# Установка необходимых пакетов
3535
python3 -m pip install --upgrade pip

0 commit comments

Comments
 (0)