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

KeyError from Typing while importing TestSuite #1277

Open
brandoneh opened this issue Sep 2, 2024 · 5 comments
Open

KeyError from Typing while importing TestSuite #1277

brandoneh opened this issue Sep 2, 2024 · 5 comments

Comments

@brandoneh
Copy link

Hi, first time posting an issue so let me know if there's more info needed.

Evidently version: 0.4.36
Python version: 3.11.0

I'm trying to import TestSuite but keep running into the following issue:
image

I have tried installing this fresh and I'm still running into the same issue.

Would anyone be able to help solve this?

Thanks

@elenasamuylova
Copy link
Collaborator

Hi @brandoneh,

1. Reproducible example. Could you share the exact code you are running, is this:

pip install evidently
from evidently.test_suite import TestSuite

?

2. Environment. What is your Python environment - e.g. Jupyter notebook, Colab?

@brandoneh
Copy link
Author

Hi, I'm running into this problem on Databricks, but am also seeing the issue using vscode, poetry and pyenv locally to replicate it. The commands I've run are as below:

poetry new evidently_test
cd evidently_test
pyenv local 3.11.0
poetry shell
poetry add evidently
python
>> from evidently.test_suite import TestSuite

Let me know if I need to provide or clarify anything else. Thanks

@VictorAtIfInsurance
Copy link

I had the same problem in Databricks, and I think the problem is that the latest LTS runtimes 15.4 uses a release candidate of python 3.11.0rc1.

I used a 14.3 LTS runtime instead and it seems to work.

@ruteabreu
Copy link

Any news on this issue?

@toandaominh1997
Copy link

The same issue with Runtime Databricks 15.4. I have two potential solutions:

  1. Downgrade evidently==0.4.30
  2. Switch runtime to 14.3 LTS

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

5 participants