pip安装隐藏警告

This commit is contained in:
zhbaor 2024-09-23 18:00:33 +08:00
parent 87b8e3d407
commit c374f288b0
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<script setup> <script setup>
const steps = ref([ const steps = ref([
{ title: '设置Git LFS', command: ['git/bin/git lfs install'] }, { title: '设置Git LFS', command: ['git/bin/git lfs install'] },
{ title: '安装pip', command: ['python/python -m ensurepip --default-pip'] }, { title: '安装pip', command: ['python/python -m ensurepip --default-pip --no-warn-script-location'] },
{ {
title: '下载代码', title: '下载代码',
command: ['git/bin/git clone https://git.zhaozuohong.vip/mower-ng/mower-ng.git --branch slow'] command: ['git/bin/git clone https://git.zhaozuohong.vip/mower-ng/mower-ng.git --branch slow']

View file

@ -24,7 +24,7 @@ const steps = ref([
{ {
title: '安装依赖', title: '安装依赖',
command: [ command: [
'../python/Scripts/pip install -i https://mirror.sjtu.edu.cn/pypi/web/simple -r requirements.txt' '../python/Scripts/pip install -i https://mirror.sjtu.edu.cn/pypi/web/simple -r requirements.txt --no-warn-script-location'
], ],
cwd: './mower-ng' cwd: './mower-ng'
} }