Skip to content

Development environment setup#21

Open
rupakc wants to merge 1 commit intomasterfrom
cursor/development-environment-setup-51cb
Open

Development environment setup#21
rupakc wants to merge 1 commit intomasterfrom
cursor/development-environment-setup-51cb

Conversation

@rupakc
Copy link
Contributor

@rupakc rupakc commented Feb 26, 2026

Set up the development environment and document the installation process due to complex dependency conflicts.

The existing requirements.txt contained very old pinned dependencies that were incompatible with modern Python versions. This PR establishes a working development environment using Python 3.8 and resolves numerous dependency conflicts (e.g., scikit-learn's calinski_harabaz_score removal, pyLDAvis and pandas incompatibility, tensorflow and numpy versions) to ensure all project modules import and core functionalities execute successfully. The AGENTS.md file details the setup steps and dependency rationale.


Open in Web Open in Cursor 


Note

Low Risk
Low risk: this PR only adds documentation and does not change runtime code or dependencies.

Overview
Adds a new AGENTS.md with Cursor Cloud–specific setup instructions for running DeepPhrase under Python 3.8, including a curated list of dependency version overrides needed to avoid known incompatibilities with the pinned requirements.txt.

Documents how to run the main seed-generation entry points, required external prerequisites (API keys, .magnitude models, storage backend), basic lint guidance, and a note about the hardcoded Windows LOG_FILE_PATH impacting Linux logging.

Written by Cursor Bugbot for commit dab53b2. This will update automatically on new commits. Configure here.

Co-authored-by: Rupak Chakraborty <rupakc@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Feb 26, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants