{"id":21482,"library":"jina","title":"Jina","description":"Jina is a cloud-native multimodal AI services framework that enables building and deploying scalable AI pipelines with gRPC, Kubernetes, Docker, OpenTelemetry, Prometheus, Jaeger, etc. Current version is 3.34.0. Release cadence is frequent (multiple patch releases per month).","status":"active","version":"3.34.0","language":"python","source_language":"en","source_url":"https://github.com/jina-ai/jina","tags":["ai","multimodal","gRPC","kubernetes","docker","cloud-native","pipeline","microservices"],"install":[{"cmd":"pip install jina","lang":"bash","label":"Install Jina"}],"dependencies":[{"reason":"gRPC communication","package":"grpcio","optional":false},{"reason":"Document data structure","package":"docarray","optional":false}],"imports":[{"note":"","wrong":"","symbol":"Flow","correct":"from jina import Flow"},{"note":"Document moved to docarray package in v3.x","wrong":"from jina import Document","symbol":"Document","correct":"from docarray import Document"},{"note":"","wrong":"","symbol":"Executor","correct":"from jina import Executor"},{"note":"","wrong":"","symbol":"requests","correct":"from jina import requests"}],"quickstart":{"code":"from jina import Flow\nfrom docarray import Document\n\n# Create a simple Flow with an encoder\nf = Flow().add(uses='jinahub://DummyEncoder')\n\nwith f:\n    resp = f.post(\n        on='/index',\n        inputs=Document(text='hello world'),\n        return_results=True\n    )\n    print(resp[0].text)","lang":"python","description":"Basic Jina Flow example using a Hub executor."},"warnings":[{"fix":"Use 'from docarray import Document' instead of 'from jina import Document'.","message":"Document class moved from jina to docarray package in v3.x. Import from docarray instead.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Use 'from jina import requests'.","message":"Executor's @requests decorator must be imported from jina, not from jina.executors.","severity":"gotcha","affected_versions":"all"},{"fix":"Use Flow.post() or from jina import Client.","message":"Client class is deprecated in favor of Flow.post() or standalone Client().","severity":"deprecated","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install jina' in your virtual environment.","cause":"Jina not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'jina'"},{"fix":"Install docarray and import from docarray: 'from docarray import Document'.","cause":"Document class was moved to docarray package.","error":"ImportError: cannot import name 'Document' from 'jina'"},{"fix":"Upgrade to latest: 'pip install --upgrade jina' and import 'from jina import Flow'.","cause":"Old Jina version or incorrect import after API changes.","error":"AttributeError: module 'jina' has no attribute 'Flow'"},{"fix":"Install with 'jina hub pull jinahub://DummyEncoder' or use a different executor.","cause":"Hub executor not installed.","error":"ValueError: Unknown executor 'jinahub://DummyEncoder'. Please make sure it is installed."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}