[Question]: Why python package installed but couldn't be used?
Closed this issue · 5 comments
Describe your problem
Hi all,
I have just installed the ragflow python package, but after pip install ragflow
, try to import ragflow
with error:
In [1]: import ragflow
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import ragflow
ModuleNotFoundError: No module named 'ragflow'
Just like to know how to use the python package?
The reason is that would like to code to to interact with system. please advice how to solve?
pip install ragflow-sdk
pip install ragflow-sdk
Much thanks for the guide, but I just think that for python API doc should be updated, right? what do you think? @KevinHuSh
One thing to notice is that only python>=3.10 could be used.
https://ragflow.io/docs/v0.14.1/python_api_reference#examples
Agree.
I have get the info that already update the code ref/
For currently latest API reference for python: https://github.com/infiniflow/ragflow/blob/main/docs/references/python_api_reference.md