59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
|
|
# 水质参数反演分析系统 - Python 依赖
|
|||
|
|
# 安装: pip install -r requirements.txt
|
|||
|
|
#
|
|||
|
|
# 说明:
|
|||
|
|
# - Windows 下 GDAL 若 pip 安装失败,建议用 conda-forge: conda install -c conda-forge gdal
|
|||
|
|
# 或使用已编译的 GDAL wheel / OSGeo4W,并保证与 rasterio 版本匹配。
|
|||
|
|
# - Word 报告(report_word)与 GUI「报告生成」页依赖 python-docx;AI 解读走 Ollama HTTP API,
|
|||
|
|
# 无需额外 pip 包(本地或远程部署 Ollama 即可)。
|
|||
|
|
|
|||
|
|
# ---------- GUI ----------
|
|||
|
|
PyQt5>=5.15.0
|
|||
|
|
|
|||
|
|
# ---------- 科学计算 ----------
|
|||
|
|
# 注:当前工程打包/运行日志显示使用 Python 3.12,因此下限按 Py3.12 兼容版本设置
|
|||
|
|
numpy>=1.26.0
|
|||
|
|
scipy>=1.11.0
|
|||
|
|
pandas>=2.0.0
|
|||
|
|
|
|||
|
|
# ---------- 机器学习 ----------
|
|||
|
|
scikit-learn>=1.4.0
|
|||
|
|
# xgboost>=2.0.0 # 可选;仅在环境已安装时 spec 会自动打入
|
|||
|
|
# lightgbm>=4.0.0 # 可选;当前流水线默认未启用
|
|||
|
|
|
|||
|
|
# ---------- 地理空间 ----------
|
|||
|
|
rasterio>=1.3.9
|
|||
|
|
fiona>=1.9.5
|
|||
|
|
shapely>=2.0.0
|
|||
|
|
geopandas>=0.14.0
|
|||
|
|
pyproj>=3.6.0
|
|||
|
|
spectral>=0.22.0
|
|||
|
|
|
|||
|
|
# ---------- 图像 ----------
|
|||
|
|
opencv-python>=4.5.0
|
|||
|
|
Pillow>=8.0.0
|
|||
|
|
scikit-image>=0.22.0
|
|||
|
|
|
|||
|
|
# ---------- 可视化 ----------
|
|||
|
|
matplotlib>=3.8.0
|
|||
|
|
seaborn>=0.11.0
|
|||
|
|
matplotlib-scalebar>=0.8.0
|
|||
|
|
|
|||
|
|
# ---------- 信号处理 ----------
|
|||
|
|
PyWavelets>=1.1.0
|
|||
|
|
|
|||
|
|
# ---------- 通用工具 ----------
|
|||
|
|
joblib>=1.1.0
|
|||
|
|
tqdm>=4.62.0
|
|||
|
|
PyYAML>=6.0
|
|||
|
|
|
|||
|
|
# ---------- 表格导出(.xlsx)----------
|
|||
|
|
openpyxl>=3.0.0
|
|||
|
|
|
|||
|
|
# ---------- Word 报告生成 ----------
|
|||
|
|
python-docx>=1.1.0
|
|||
|
|
lxml>=4.9.0
|
|||
|
|
|
|||
|
|
# ---------- 打包(可选,仅构建 exe 时需要)----------
|
|||
|
|
pyinstaller>=6.0.0
|