diff --git a/install/install_panel.sh b/install/install_panel.sh index 08eb0ea..454f629 100644 --- a/install/install_panel.sh +++ b/install/install_panel.sh @@ -370,7 +370,7 @@ Install_Python_Lib(){ if [ "$is_package" = "" ];then wget -O $pyenv_path/pyenv/pip.txt $download_Url/install/pyenv/pip.txt -T 15 $pyenv_path/pyenv/bin/pip install -U pip - $pyenv_path/pyenv/bin/pip install -U setuptools + $pyenv_path/pyenv/bin/pip install -U setuptools>=65.5.0 $pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt fi source $pyenv_path/pyenv/bin/activate @@ -462,7 +462,7 @@ Install_Python_Lib(){ $pyenv_path/pyenv/bin/pip install -U pip $pyenv_path/pyenv/bin/pip install -U setuptools $pyenv_path/pyenv/bin/pip install -U wheel==0.34.2 - $pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt + $pyenv_path/pyenv/bin/pip install -r $pyenv_path/pyenv/pip.txt -i https://mirrors.xinac.net/pypi/simple --trusted-host mirrors.xinac.net source $pyenv_path/pyenv/bin/activate is_gevent=$($python_bin -m gevent 2>&1|grep -oE package)