Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
王小舟
/
ask_data_llm_middleware
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a9d70246
authored
Apr 16, 2026
by
imwangxiaozhou
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: 将 pip3 命令统一更新为 pip3.10
更新启动脚本和依赖检查中的 pip 命令版本,确保与 Python 3.10 环境兼容
1 parent
e0fedc66
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
search_merchants.py
start.sh
sync_data.py
search_merchants.py
View file @
a9d7024
...
@@ -5,7 +5,7 @@ except ImportError:
...
@@ -5,7 +5,7 @@ except ImportError:
try
:
try
:
from
pysqlite3
import
dbapi2
as
sqlite3
from
pysqlite3
import
dbapi2
as
sqlite3
except
ImportError
:
except
ImportError
:
raise
ImportError
(
"系统缺少 sqlite3 且未安装 pysqlite3-binary。请运行: pip3 install pysqlite3-binary"
)
raise
ImportError
(
"系统缺少 sqlite3 且未安装 pysqlite3-binary。请运行: pip3
.10
install pysqlite3-binary"
)
import
os
import
os
import
argparse
import
argparse
import
json
import
json
...
...
start.sh
View file @
a9d7024
...
@@ -14,7 +14,7 @@ echo "=== 门店管理服务启动脚本 ==="
...
@@ -14,7 +14,7 @@ echo "=== 门店管理服务启动脚本 ==="
# 1. 检查依赖
# 1. 检查依赖
if
[
-f
"requirements.txt"
]
;
then
if
[
-f
"requirements.txt"
]
;
then
echo
"正在检查并安装依赖..."
echo
"正在检查并安装依赖..."
pip3 install -r requirements.txt > /dev/null 2>&1
pip3
.10
install -r requirements.txt > /dev/null 2>&1
fi
fi
# 2. 启动同步任务 (后台运行)
# 2. 启动同步任务 (后台运行)
...
...
sync_data.py
View file @
a9d7024
...
@@ -6,7 +6,7 @@ except ImportError:
...
@@ -6,7 +6,7 @@ except ImportError:
try
:
try
:
from
pysqlite3
import
dbapi2
as
sqlite3
from
pysqlite3
import
dbapi2
as
sqlite3
except
ImportError
:
except
ImportError
:
raise
ImportError
(
"系统缺少 sqlite3 且未安装 pysqlite3-binary。请运行: pip3 install pysqlite3-binary"
)
raise
ImportError
(
"系统缺少 sqlite3 且未安装 pysqlite3-binary。请运行: pip3
.10
install pysqlite3-binary"
)
import
os
import
os
import
schedule
import
schedule
import
time
import
time
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment