Comments (6)
After I set python env, I use commands cli, the return is below, is that means I need to start some related ES service?
!python /content/ragflow/deepdoc/vision/t_ocr.py --inputs /content/inputs --outputs /content/outputs
Traceback (most recent call last):
File "/content/ragflow/deepdoc/vision/t_ocr.py", line 14, in
from deepdoc.vision.seeit import draw_box
File "/content/ragflow/deepdoc/vision/init.py", line 5, in
from .table_structure_recognizer import TableStructureRecognizer
File "/content/ragflow/deepdoc/vision/table_structure_recognizer.py", line 22, in
from rag.nlp import huqie
File "/content/ragflow/rag/nlp/init.py", line 4, in
from rag.utils import num_tokens_from_string
File "/content/ragflow/rag/utils/init.py", line 19, in
from .es_conn import ELASTICSEARCH
File "/content/ragflow/rag/utils/es_conn.py", line 456, in
ELASTICSEARCH = HuEs()
File "/content/ragflow/rag/utils/init.py", line 12, in _singleton
instances[key] = cls(*args, **kw)
File "/content/ragflow/rag/utils/es_conn.py", line 23, in init
raise Exception("Can't connect to ES cluster")
Exception: Can't connect to ES cluster
from ragflow.
bump
from ragflow.
Thanks for following!
You need to set environment variable PYTHON PATH=path/to/ragflow
from ragflow.
Many thanks!
from ragflow.
Same issue here :<< really need support
from ragflow.
Using the following lines within Google Colab I receive the same error as @jojogh
!git clone https://github.com/infiniflow/ragflow.git
%cd ragflow
# Based on: https://github.com/infiniflow/ragflow/issues/220
!sudo -H pip install --ignore-installed -U blinker
%pip install -r requirements.txt
# Based on: https://github.com/infiniflow/ragflow/issues/222
%set_env PYTHONPATH=/content/ragflow
!python deepdoc/vision/t_ocr.py --inputs /content/inputs --outputs /content/outputs
Curious to know if deepdoc can be executed independently of ragflow or if it requires a running instance of it.
Thank you in advanced for any further insights.
from ragflow.
Related Issues (20)
- Support workflow orchestration
- About docker container startup issues HOT 7
- [Feature Request]: Hope the login page can be adapted for mobile access.
- [Feature Request]: Use API to build my application
- [Bug]: Upload file successfully, but it's empty when clicking to view it. HOT 4
- [Question]: add Ollama model,why model type is image2text HOT 5
- [Question]: how to go login.html HOT 4
- [Question]: Error response from daemon HOT 1
- File names that are too long will overflow the text box HOT 1
- [Question]: where is user_id in api key HOT 1
- [Bug]: ragflow The requested image's platform (linux/amd64) HOT 1
- [Bug]: XSS on the chunkview HOT 2
- [Bug]: Fail to access model(llama3).**ERROR**: [Errno 111] Connection refused HOT 5
- [Question]: PyMuPDF dependency HOT 2
- [Bug]: 关闭最大token这个配置无法保存
- [Feature Request]:Add an API call example.
- [Bug]: Inconsistent Document Count Displayed in Knowledge Base HOT 1
- [Question]: parsing is very slow and basically unavailable, the advantages of the model are hard to perceive HOT 1
- [Bug]: [ERROR]Internal server error: Resume parser remote call fail! HOT 1
- fix: filter knowledge list by keywords HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ragflow.