-
Couldn't load subscription status.
- Fork 5.2k
Description
Describe the bug
Open Interpreter cannot be installed offline on Windows due to missing platform-specific dependencies (notably pyreadline3) and build system requirements (poetry-core).
Investigation context:
- Time invested: 80+ hours across multiple installation methods
- Success rate: 0% (complete failure on air-gapped system)
- Hardware: High-end system successfully running Ollama with 70B models
- Network status: Intentionally offline/air-gapped by design
Primary blockers:
pip download --platform win_amd64does NOT fetch Windows-only dependencies likepyreadline3when run on non-Windows machinespoetry-corenot listed as a direct requirement, but required for source installs- Dependency graph is complex (50+ packages, many with platform-specific binaries)
This makes Open Interpreter completely unusable for air-gapped/offline Windows environments (enterprise, government, research labs, etc.)
Reproduce
On macOS/Linux machine WITH internet:
- mkdir open-interpreter-offline && cd open-interpreter-offline
- pip download --platform win_amd64 --python-version 311 --only-binary=:all: open-interpreter -d windows_deps
- Result: Downloads ~30-40 packages but MISSES Windows-specific ones
Transfer to Windows machine WITHOUT internet:
- Copy windows_deps folder via USB
- cd windows_deps
- pip install --no-index --find-links . open-interpreter
- Error: "No matching distribution found for pyreadline3>=3.4.1; sys_platform == 'win32'"
Also tried - Source installation:
- git clone https://github.com/OpenInterpreter/open-interpreter.git
- cd open-interpreter
- pip install -e .
- Error: "No matching distribution found for poetry-core>=1.0.0"
All 8 attempted methods failed. See attached report for complete details.
Expected behavior
Offline installation should succeed using pre-downloaded packages if dependency resolution works correctly for the target platform.
Expected: pip install --no-index --find-links . open-interpreter should install successfully with all Windows-specific dependencies included in the download.
Actual: Installation fails because platform-specific dependencies (marked with ;sys_platform == "win32") are evaluated on the DOWNLOAD machine, not the TARGET machine. When downloading on macOS/Linux, pip ignores Windows-only requirements entirely.
Screenshots
No response
Open Interpreter version
0.0.296 (attempted installation, never successfully installed)
Python version
3.11.9
Operating System name and version
Windows 10/11 (64-bit) - Air-gapped system Successfully running: Ollama 0.12.3, DeepSeek R1:70b, other AI tools (Jan, LM Studio)
Additional context
Complete 80+ hour investigation documented including:
- All 8 attempted installation methods with detailed error logs
- Complete dependency chain analysis (50+ packages)
- Time investment breakdown
- Root cause analysis (cross-platform dependency resolution failure)
- Comparison with alternatives (PyGPT, Agent Zero, Aider)
- Suggested fixes prioritized (HIGH/MEDIUM/LOW)
Missing Windows-specific dependencies:
- pyreadline3>=3.4.1 (sys_platform == "win32")
- poetry-core>=1.0.0 (build system)
- colorama, appdirs, and ~40+ more packages
Why cross-platform download fails:
Platform-specific conditionals (;sys_platform == "win32") are evaluated on the DOWNLOAD machine (macOS/Linux), not the TARGET machine (Windows). This causes pip to skip Windows-only packages entirely.
Suggested HIGH PRIORITY fixes:
- Provide platform-specific offline bundles (.zip files for Windows/Linux/macOS)
- Create script to properly resolve platform-specific dependencies
- Document Windows-specific dependencies explicitly
Full technical report: windows-offline-failure-analysis.md (attached)
Alternatives that work offline:
- PyGPT (desktop app, 20min install, includes voice)
- Agent Zero (Docker-based, full autonomy)
- Aider (lighter dependencies, code editing)