-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Fix: Add --active flag to uv sync command to fix virtual environment detection #2847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…detection Co-Authored-By: Joe Moura <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2847OverviewThis pull request introduces the Changes Made
Positive Aspects
Suggestions for Improvement
Historical ContextWhile there are no direct historical references provided in the pull request for the specific changes, it’s advisable to check the commit history for related modifications to ConclusionThe PR is well-structured and presents a solid improvement to the functionality of the |
Co-Authored-By: Joe Moura <[email protected]>
its problems of python version |
Fix for Issue #2846 - Virtual Environment Path Conflict
Description
This PR fixes issue #2846 where
crewai install
fails with an error about installingonnxruntime
despite it being already installed. The issue is caused by a conflict between theVIRTUAL_ENV
environment variable and the project path.Changes
--active
flag to theuv sync
command ininstall_crew.py
to target the active virtual environmentinstall_crew
function to verify the fixTesting
install_crew
functionVIRTUAL_ENV
doesn't match the project pathRelated Issue
Fixes #2846
Link to Devin run
https://app.devin.ai/sessions/bf12b2b6cafa40b4827c7569b994e55f
Requested by
Joe Moura ([email protected])