Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Why python package installed but couldn't be used? #3947

Closed
lugq1990 opened this issue Dec 10, 2024 · 5 comments
Closed

[Question]: Why python package installed but couldn't be used? #3947

lugq1990 opened this issue Dec 10, 2024 · 5 comments
Labels
question Further information is requested

Comments

@lugq1990
Copy link

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?

@lugq1990 lugq1990 added the question Further information is requested label Dec 10, 2024
@KevinHuSh
Copy link
Collaborator

pip install ragflow-sdk

@lugq1990
Copy link
Author

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

@KevinHuSh
Copy link
Collaborator

Agree.

@lugq1990
Copy link
Author

I have get the info that already update the code ref/

@lugq1990
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants