-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
🐞 bugSomething isn't working, pull request that fix bug.Something isn't working, pull request that fix bug.
Description
Description
The ragflow-cli package on PyPI (version 0.24.0) is missing critical Python modules that are required for the CLI to function.
Steps to reproduce
- Install ragflow-cli from PyPI:
pip install ragflow-cli==0.24.0 - Try to run the CLI:
ragflow-cli -h 127.0.0.1 -p 9381 - Observe the import errors
Expected behavior
The CLI should work after installing from PyPI.
Actual behavior
The CLI fails with import errors because the following files are missing from the PyPI package:
http_client.pyragflow_client.pyuser.py
These files exist in the GitHub repository at admin/client/ but were not included in the PyPI distribution.
Files in PyPI package (ragflow_cli-0.24.0-py3-none-any.whl):
- parser.py
- ragflow_cli.py
- ragflow_cli-0.24.0.dist-info/
Files in GitHub repository (admin/client/):
- parser.py
- ragflow_cli.py
- http_client.py # MISSING from PyPI
- ragflow_client.py # MISSING from PyPI
- user.py # MISSING from PyPI
Workaround
Run from source code:
git clone https://github.com/infiniflow/ragflow.git
cd ragflow
pip install -r admin/client/requirements.txt
python admin/client/ragflow_cli.py -h 127.0.0.1 -p 9381Suggested fix
Update the PyPI packaging/publishing process to include all files from admin/client/ directory in the distribution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't working, pull request that fix bug.Something isn't working, pull request that fix bug.