update
This commit is contained in:
parent
8a9e57b0dc
commit
cd08065500
@ -82,13 +82,12 @@ if ! pip list | grep -q "pandas"; then
|
||||
pip install --upgrade pip
|
||||
|
||||
# 使用国内镜像源安装依赖
|
||||
# pip install -i https://mirrors.aliyun.com/pypi/simple/ --prefer-binary -r requirements.txt
|
||||
pip install -i https://mirrors.aliyun.com/pypi/simple/ --prefer-binary -r requirements.txt
|
||||
|
||||
# 验证关键依赖是否安装成功
|
||||
if ! pip list | grep -q "pandas"; then
|
||||
echo "依赖安装失败,尝试单独安装关键包..."
|
||||
pip install -r requirements.txt
|
||||
fi
|
||||
# if ! pip list | grep -q "pandas"; then
|
||||
# pip install -r requirements.txt
|
||||
# fi
|
||||
|
||||
# 再次验证
|
||||
if ! pip list | grep -q "pandas"; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user