@echo off title TikTok Manager - ULTIMATE INSTALLER color 0B cls echo =================================================== echo TIKTOK LIVE MANAGER - FULL ENV SETUP echo =================================================== echo. REM 1. Checking if 'uv' is installed where uv >nul 2>nul if %errorlevel% neq 0 ( echo [ERROR] 'uv' is not installed! echo Install: pip install uv pause exit /b ) echo 1. Cleaning old environment... if exist .venv ( rmdir /s /q .venv echo [.venv deleted] ) else ( echo [Clean slate] ) echo. echo 2. Creating VENV with Python 3.11... uv venv --python 3.11 echo. echo 3. Installing ALL Packages (From your screenshots + Dev tools)... echo. REM --- INSTALL COMMAND --- REM Everything from the screenshots and requirements files is included here. REM The versions of "httpx" and "betterproto" are CRITICAL for operation! uv pip install ^ "httpx==0.27.2" ^ "pyee<12.0.0" ^ "betterproto==2.0.0b7" ^ "TikTokLive>=6.0.0" ^ "curl_cffi>=0.14.0" ^ "requests>=2.32.0" ^ "ffmpeg-python>=0.2.0" ^ "telethon>=1.42.0" ^ "distro>=1.9.0" ^ "protobuf" ^ "websockets" ^ "ruff>=0.12.0" ^ "pre-commit>=4.3.0" ^ "argparse" ^ --prerelease=allow if %errorlevel% neq 0 ( echo. echo [ERROR] Installation failed! pause exit /b ) echo. echo =================================================== echo DONE! All packages installed. echo Includes the following (based on screenshots): echo - TikTokLive v6+, httpx 0.27.2 (Fix) echo - betterproto 2.0.0b7 (Fix) echo - FFmpeg, Telethon, Curl_cffi echo - Dev tools (Ruff, Pre-commit) echo =================================================== pause