mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[PR #158] [MERGED] Fix dependency installation issues #578
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#578
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/158
Author: @cypheroxide
Created: 3/4/2025
Status: ✅ Merged
Merged: 3/12/2025
Merged by: @AJaySi
Base:
main← Head:fix-dependency-installation📝 Commits (2)
401aa66Add system prequesisties documentation and installation helper script8a26fedAdd install script info to README and implement error logging in install_dependencies.py📊 Changes
2 files changed (+192 additions, -0 deletions)
View changed files
📝
README.md(+24 -0)➕
install_dependencies.py(+168 -0)📄 Description
Fix dependency installation issues
Issues Encountered
While trying to set up the AI-Writer project across multiple environments (Ubuntu 22.04, PopOS, Arch Linux, Windows 10, Windows 11), I consistently ran into dependency installation failures that weren't documented in the setup instructions. These issues included:
tiktokenand related packages due to missing Rust compilerThese issues made it extremely difficult for new users to get started with the project, as evidenced by multiple reopened issues on GitHub related to installation problems.
Changes Made
This PR implements several improvements to address these installation issues:
Enhanced documentation: Added a comprehensive "Prerequisites" section to the README that clearly lists all required system dependencies for both Windows and Linux environments.
Installation helper script: Created
install_dependencies.pythat:Explicit installation steps: Updated the installation instructions with clearer, more detailed steps that account for potential issues
How These Changes Address the Issues
These improvements directly address the installation challenges by:
Preventing problems before they occur: By clearly documenting prerequisites and providing automated checks, users will install necessary system components before attempting to install Python dependencies.
Providing clear guidance: When issues do occur, users now have specific instructions for resolving them rather than generic error messages.
Reducing support burden: These changes should significantly reduce the number of "cannot install" issues, allowing more focus on feature development.
Improving user experience: New users will have a much smoother onboarding experience, increasing adoption and community engagement.
Ease of installation for new users: As many new users seem to attempt to use this platform on fresh Windows systems (and some Linux systems), this reduces the burden of coding and debugging knowledge, increasing adoption and streamlining installation processes.
Testing
I've tested these and confirmed changes across multiple environments:
In all cases, following the new instructions and using the helper script resulted in successful installation and running of the application.
Related Issues
This PR addresses the issues described in Issue #142 regarding dependency installation problems.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.