Open
Description
I am getting the import error while using presidio-analyzer in my databricks notebook.
given below is the basic getting started code for presidio-analyzer. surprisingly, it works on my local machine.
I have python 3.11 and tried with several versions of presidio-analyzer and pydantic but nothing works.
_pip install presidio-analyzer_
from presidio_analyzer import AnalyzerEngine
analyzer = AnalyzerEngine()
results = analyzer.analyze(text="My phone number is 212-555-5555",
entities=["PHONE_NUMBER"],
language='en')
print(results)
Metadata
Metadata
Assignees
Labels
No labels