kermitt2 / grobid_client_python

Python client for GROBID Web services
Apache License 2.0
275 stars 74 forks source link

ImportError: attempted relative import with no known parent package #45

Closed venti07 closed 2 years ago

venti07 commented 2 years ago

File "/content/grobid_client_python/grobid_client/grobid_client.py", line 27, in from .client import ApiClient ImportError: attempted relative import with no known parent package

I am trying to use crobid with google colab.

How can I fix the error?

LukasWallrich commented 1 year ago

Just in case anyone searches in the future: I resolved this by starting python from a folder other than the one containing grobid_client ...