stanford-futuredata / ARES

https://ares-ai.vercel.app/
Apache License 2.0
372 stars 41 forks source link

Missing protobuf dependencies in ARES 0.6.1 PyPi package #49

Closed elsatch closed 3 weeks ago

elsatch commented 4 weeks ago

I have created a new Python environment and installed the 0.6.1 version of the Python library using PyPi.

When running the sample code for ares.evaluate_RAG() for the first time I got an import error:

ImportError: 
DebertaV2Converter requires the protobuf library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/protocolbuffers/protobuf/tree/master/python#installation and follow the ones
that match your environment. Please note that you may need to restart your runtime after installation.

I installed the protobuf library using pip install protobuf and that solved the problem. So protobuf should be added to the requirements for ares-ai library.

elsatch commented 4 weeks ago

I just checked the source code: