Open crypto-frog opened 9 months ago
Hi @crypto-frog, just to clarify, did you install the Document AI client library?
pip install --upgrade google-cloud-documentai
Are you running this in a colab notebook or in an iPython interactive environment? I have seen this same behavior in certain colab notebooks even after installing.
Hi holtskinner ! Great to hear from you. I followed the tutorial at https://codelabs.developers.google.com/codelabs/docai-ocr-python#7 step by step, including this step:
pip3 install --upgrade google-cloud-documentai pip3 install --upgrade google-cloud-storage pip3 install --upgrade google-cloud-documentai-toolbox
I am using the google cloud CLI, everything is remote on the google cloud as in the tutorial. I tried creating a new project. It is installed, I checked. I tried reinstalling and requirement is satisfied. I have used AI to look at my code and the steps and can find nothing wrong.
Thank you !!!
My theory is that it's a python versioning issue where you're running the code on a different version than installed the libraries.
Try running:
/usr/bin/python -m pip install --upgrade google-cloud-documentai google-cloud-storage google-cloud-documentai-toolbox
Then try running again.
I ran the command - requirement already satisfied. Same error. I am not using any local resources to do this - everything is in google cloud and I am following the tutorial. I don't want to give up because usually google services work. Please help !
I have followed the tutorial exactly, and i keep getting this error. my key.json is located in home/jonathan_ruben_fernandes/key.json
Here is my error message. Nothing on stack overflow and openai cannot help me figure out the error: