mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
When pip installs flask-sock into the venv, it finds simple-websocket already satisfied in ~/.local (user site-packages from a prior install) and skips installing it into the venv. The venv Python cannot import from ~/.local (user site-packages are disabled in venvs), so flask_sock's top-level "from simple_websocket import Server" raises ImportError, and all WebSocket features are silently disabled. Fix: explicitly list simple-websocket>=0.5.1 as an install target in setup.sh and requirements.txt so pip installs it into the venv regardless of what is already present in user or system site-packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB