You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm installing the latest langflow on my local environement. I'm using Python3.12.
I got the error when I install the langflow. The error message says this.
ERROR: Cannot install langflow and langflow==1.1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
langflow 1.1.1 depends on crewai~=0.86.0
langflow-base 0.1.1 depends on crewai~=0.80.0
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict
In the above situation, we can't identify which crewai version is required for langflow.
Reproduction
Just install the langflow v1.1.1 on Python3.12.
Expected behavior
The dependency is solved automatically and langchain is installed.
Who can help?
No response
Operating System
Windows11
Langflow Version
1.1.1
Python Version
3.12
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered:
Hey @oshikata0825! I'm here to help you with the issue you're facing. Let's work together to solve this!
I found a similar issue that was previously reported: crewai dependency disallows upgrade to langchain~=0.3.x. This issue was closed after a pull request was merged to upgrade langchain and associated packages, including langchain-astradb [1].
For your current issue, the conflict arises because langflow version 1.1.1 requires crewai~=0.86.0, while langflow-base version 0.1.1 requires crewai~=0.80.0. To resolve this, you can try the following:
Loosen Version Constraints: Modify the version constraints in your local environment to allow for a broader range of crewai versions that satisfy both dependencies.
Manual Installation: Manually install a compatible version of crewai that satisfies both langflow and langflow-base before installing langflow.
Use uv Installer: If you encounter issues with pip, try using the uv package installer, which can sometimes handle dependency resolution better:
uv pip install langflow
Force Reinstall: You can also try forcing a reinstall with:
@oshikata0825 thanks for the report. This is odd, as we've removed CrewAI from the version dependencies of langflow-base. But this was done post 1.1.1 - its only in the main branch.
Could you try uninstalling langflow-base, then reinstalling langflow as a whole? this may still be a bug that needs to be addressed for backwards compatibility, but there shouldnt be anything specifying a crewai requirement for langflow-base anymore.
Bug Description
I'm installing the latest langflow on my local environement. I'm using Python3.12.
I got the error when I install the langflow. The error message says this.
ERROR: Cannot install langflow and langflow==1.1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
langflow 1.1.1 depends on crewai~=0.86.0
langflow-base 0.1.1 depends on crewai~=0.80.0
To fix this you could try to:
In the above situation, we can't identify which crewai version is required for langflow.
Reproduction
Just install the langflow v1.1.1 on Python3.12.
Expected behavior
The dependency is solved automatically and langchain is installed.
Who can help?
No response
Operating System
Windows11
Langflow Version
1.1.1
Python Version
3.12
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered: