uptrain-ai / uptrain

UpTrain is an open-source unified platform to evaluate and improve Generative AI applications. We provide grades for 20+ preconfigured checks (covering language, code, embedding use-cases), perform root cause analysis on failure cases and give insights on how to resolve them.

Home Page:https://uptrain.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fresh venv install following the Quickstart example fails due to ModuleNotFoundError: No module named 'fsspec'

cfrenchi opened this issue · comments

Describe the bug
I created a new venv environment to test out the Quickstart example. With a new notebook and after a pip install uptrain, when importing in the EvalLLM and Evals I get the error ModuleNotFoundError: No module named 'fsspec'

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install of python
  2. python -m venv venv
  3. source venv/bin/activate
  4. Create a new .ipynb
  5. pip install uptrain
  6. Successful pip install
  7. Create a new cell with only
    from uptrain import EvalLLM, Evals import json
  8. The cell will fail for ModuleNotFoundError: No module named 'fsspec'

pip install fsspec fixes the problem but should either be included in the package or called out in documentation

Expected behavior
When following the example from the Quickstart all dependencies should be installed (either through the package or by calling it out explicitly in the documentation.

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Additional context
To get around this I just needed to do a pip install fsspec
If this is a requirement it should be included in the package or called out as a dependency in documentation

System Environment
Sonoma 14.3.1
Python 3.11.7
VSCode 1.86.2 (Universal)
Jupyter Extension - v2024.1.1

Thanks for submitting your bug – we love squashing them!

Thanks for bringing this to our attention, @cfrenchi! Fixed this in #603