mxivideo/scripts/demo_python_env_manager.bat

67 lines
1.6 KiB
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM Python环境管理器演示脚本
echo 🐍 Python Environment Manager Demo
echo =====================================
echo.
echo 这个演示将展示Python环境管理器的功能
echo.
echo 1. 📊 查看Python环境状态
echo 2. 📦 管理Python包
echo 3. 🔧 设置嵌入式Python环境
echo.
echo 📋 使用步骤:
echo.
echo 1. 启动应用:
echo cargo tauri dev
echo.
echo 2. 访问Python环境管理页面
echo - 点击左侧导航栏的 "Python环境"
echo - 或访问 /python-env-manager 路由
echo.
echo 3. 查看环境状态:
echo - 绿色:环境可用
echo - 红色:环境不可用或未设置
echo.
echo 4. 设置嵌入式Python如果需要
echo - 点击 "设置嵌入式Python" 按钮
echo - 等待自动下载和配置
echo.
echo 5. 管理Python包
echo - 点击 "安装包" 添加新包
echo - 使用 "升级" 更新现有包
echo - 使用 "卸载" 移除不需要的包
echo.
echo 6. 搜索包:
echo - 使用搜索框快速查找已安装的包
echo.
echo 🎯 推荐测试包:
echo.
echo - requests (HTTP请求库)
echo - Pillow (图像处理库)
echo - certifi (SSL证书库)
echo - numpy (数值计算库,可选)
echo - pandas (数据分析库,可选)
echo.
echo 🔧 故障排除:
echo.
echo 如果遇到问题:
echo 1. 检查网络连接
echo 2. 确保有足够磁盘空间
echo 3. 查看控制台错误信息
echo 4. 点击 "刷新" 重新加载状态
echo.
echo ✨ 现在启动应用来体验Python环境管理器
echo.
pause
echo 🚀 启动Tauri应用...
cd /d "%~dp0.."
cargo tauri dev