When I run
python3 -m grobid_client.grobid_client --input Prtot_000.pdf --output test.json
I get the following error
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/dvdmcllstr/grobid_client_python/grobid_client/grobid_client.py", line 27, in
from .client import ApiClient
ImportError: cannot import name 'ApiClient' from 'grobid_client.client' (/home/dvdmcllstr/.local/share/r-miniconda/lib/python3.12/site-packages/grobid_client/client.py). Did you mean: 'Client'?
I have read issue #80 which has a similar error message and tried
pip install --upgrade --force-reinstall grobid-client
but this hasn't removed the error.
Can anyone advise please.
I am running the grobid servier - http://localhost:8070/api/isalive returns true and I can see an uploaded pdf on the http://localhost:8070/.
I am running ubuntu 22.04.3 LTS inside WSL2.