Skip to content
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

“Installation Errors in testing Branch on macOS – Missing Modules and Dependency Conflicts” #165

Open
controlnautas opened this issue Sep 30, 2024 · 0 comments

Comments

@controlnautas
Copy link

Summary:
I encountered multiple errors while trying to install Agent Zero from the testing branch on macOS. The installation process had several missing dependencies and version conflicts. Below is a detailed description of the issues I faced.

Steps to Reproduce:

  1. Cloned the testing branch using:
    git clone --branch testing https://github.com/frdel/agent-zero.git
  2. Installed the required dependencies with:
    pip install -r requirements.txt
  3. Attempted to run Agent Zero with:
    python run_ui.py

Errors Encountered:

  1. The first error I encountered was:

    ModuleNotFoundError: No module named 'langchain_mistralai'
    • I resolved this by installing the missing module manually:
    pip install langchain-mistralai
  2. After installing langchain-mistralai, I ran into dependency conflicts:

    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts:
    langchain-huggingface 0.0.3 requires langchain-core<0.3,>=0.1.52, but you have langchain-core 0.3.6 which is incompatible.
    langchain-google-genai 1.0.7 requires langchain-core<0.3,>=0.2.9, but you have langchain-core 0.3.6 which is incompatible.
    • I attempted to resolve the conflicts by adjusting versions of the dependencies, but the conflicts persisted.
  3. Finally, when trying to run the script again, I got another error related to a missing package:

    ImportError: unstructured package not found, please install it with `pip install unstructured`
    • I installed the package manually with:
    pip install unstructured

Expected Behavior:
I expected the installation to proceed without errors after running the initial pip install -r requirements.txt, and for Agent Zero to run without further missing dependencies or conflicts.

Environment:

  • macOS 12.5
  • Conda environment (Python 3.12)

Additional Context:
Please verify the dependency list and ensure that the correct versions are specified in requirements.txt for seamless installation. There might also be missing dependencies like langchain-mistralai and unstructured that are not documented in the installation instructions.

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

No branches or pull requests

1 participant