Closed alexcg1 closed 2 years ago
What is the flow, it definitely seems to be a problem with AnnLiteIndexer
, can u do install_requirements
TRUE?
Can u try to see which Executor fails? Can u try to load the Flow with one Single Executor to see which one fails?
Seems to be AnnLiteIndexer, at least some of the time
Run empty Flow - OK Run empty Flow AGAIN - OK Run Flow with just AnnLiteIndexer - FAIL Run Flow with just AnnLiteIndexer AGAIN - OK
I won't touch that notebook moving forwards, I'll leave it for you as a record of this bug
I didn't keep going and test CLIPEncoder too. I want to keep it as a minimal not-working example
It defo seems to be an Executor thing (either Executors in general or AnnLite), not a Flow thing
@alexcg1 @JoanFM This issue seems due to pip install
failed. This is the related issues:
And what's more, to support the new syntax of columns
, it's better to pin the version of docarry>=0.16.4
and annlite>=0.3.11
So then @alexcg1 try updating pip
. I agree this does not seem to be a jina
issue.
I've just upgraded pip and I'm getting a similar error. This time it's moaning about protobuf, not requests:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/protobuf-3.17.3.dist-info/METADATA'
Should I file a new bug or is it a continuation of this one?
pip install jina
is giving following error (after running pip install -U pip
)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.8.2+zzzcolab20220719082949 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.21.6 which is incompatible.
tensorflow-metadata 1.10.0 requires protobuf<4,>=3.13, but you have protobuf 4.21.6 which is incompatible.
google-cloud-bigquery-storage 1.1.2 requires protobuf<4.0.0dev, but you have protobuf 4.21.6 which is incompatible.
google-api-core 1.31.6 requires protobuf<4.0.0dev,>=3.12.0; python_version > "3", but you have protobuf 4.21.6 which is incompatible.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Huh, now the error has flipped back to mentioning requests
instead of protobuf
Check this notebook
It fails for AnnLiteIndexer specifically. Should I re-open and move this issue to the appropriate repo?
(Except the package has changed again to Pillow
)
It fails for AnnLiteIndexer specifically. Should I re-open and move this issue to the appropriate repo?
@numb3r3
Describe the bug Using this notebook, I go to runtime -> run all (for first run of notebook) it crashes. This is a common problem when I run Jina in notebooks. It may (or may not) be related to AnnLiteIndexer? (from what I remember of previous debugging attempts)
When I come to the cell with:
It crashes with the following error:
Describe how you solve it Runtime -> Restart and run all
Environment
Screenshots