-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority: criticalMust have for MVP - work on these firstMust have for MVP - work on these first
Description
What happened?
When installing Cortex in development mode using pip install -e ., not all required dependencies are installed. This causes ModuleNotFoundError at runtime when trying to import packages like requests, cryptography, and typing-extensions.
The issue occurs because:
- Modern pip/setuptools prioritizes
pyproject.tomloversetup.pywhen both exist pyproject.tomlonly defines 5 core dependencies (anthropic, openai, rich, pyyaml, python-dotenv)requirements.txtcontains 8 dependencies including the missing ones (requests, cryptography, typing-extensions)- When
pip install -e .runs, it only installs what's inpyproject.toml, ignoringsetup.py's attempt to read fromrequirements.txt
Additionally, there's duplication between requirements.txt, requirements-dev.txt, and pyproject.toml, creating maintenance overhead and potential for inconsistencies.
Impact
- New developers following setup instructions get broken installations
cortex demoand other commands fail withModuleNotFoundError: No module named 'requests'- Dependency management is confusing with three separate files
- Risk of dependencies getting out of sync between files
Environment
- OS: Ubuntu 24.04 / Debian 12 / etc.
- Python: 3.11 / 3.12
- LLM Provider: Claude / OpenAI / Ollama
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority: criticalMust have for MVP - work on these firstMust have for MVP - work on these first