I am trying to import libraries I have used previously to calculate metrics between text, one being evaluate package. When I import the package it says the requests package has been hijacked
I tried uninstalling python-requests, evaluate, and requests and reinstalling requests and evaluate but nothing changed. Also tried installing python-dotenv.
I have
python==3.9.13
requests==2.31.0
This is the output
from evaluate import load
bertscore = load("bertscore")
predictions = ["hello there", "general kenobi"]
references = ["hello there", "general kenobi"]
results = bertscore.compute(predictions=predictions, references=references, lang="en")
Well . The `requests` library you installed has been been hijacked
An exception has occurred, use %tb to see the full traceback.
SystemExit:
You have apparently installed python-requests. Uninstall it.