PaddleX
PaddleX copied to clipboard
DependencyError: pandas<=1.5.3 incompatible with python 3.12
Checklist
- [x] I have searched for previous related issues
- [x] I have reviewed the FAQ
- [x] I have reviewed the PaddleX documentation
- [x] I have confirmed that this bug is not fixed in the latest release
Bug Description
Installation of paddlex==3.0.0 fails when using python 3.12 due to pandas dependency (version 1.5.3), which does not support python 3.12.
Steps to Reproduce
Fails on python 3.12:
python3.12 -m venv env312
source env312/bin/activate
pip install paddlex==3.0.0
This will result in an error because pandas<=1.5.3 is incompatible with python 3.12.
Works on python 3.11:
python3.11 -m venv env311
source env311/bin/activate
pip install paddlex==3.0.0
This succeeds as expected.
Suggested Fix
Update the dependencies to a version compatible with python 3.12 or remove python 3.12 support.