fix opencv import error for numpy 2.0 (#13105)
* fix opencv import error for numpy 2.0 * update requirements.txtpull/13212/head^2
parent
6d5f998fe1
commit
433677182f
|
@ -23,7 +23,7 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip install "paddlepaddle==2.5"
|
||||
pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html
|
||||
pip install -e .
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
|
|
|
@ -47,10 +47,10 @@ dependencies = [
|
|||
"tqdm",
|
||||
"numpy<2.0",
|
||||
"rapidfuzz",
|
||||
"opencv-python<=4.6.0.66",
|
||||
"opencv-contrib-python<=4.6.0.66",
|
||||
"opencv-python",
|
||||
"opencv-contrib-python",
|
||||
"cython",
|
||||
"Pillow>=10.0.0",
|
||||
"Pillow",
|
||||
"pyyaml",
|
||||
"python-docx",
|
||||
"beautifulsoup4",
|
||||
|
|
|
@ -6,9 +6,9 @@ lmdb
|
|||
tqdm
|
||||
numpy<2.0
|
||||
rapidfuzz
|
||||
opencv-python<=4.6.0.66
|
||||
opencv-contrib-python<=4.6.0.66
|
||||
opencv-python
|
||||
opencv-contrib-python
|
||||
cython
|
||||
Pillow>=10.0.0
|
||||
Pillow
|
||||
pyyaml
|
||||
requests
|
||||
|
|
Loading…
Reference in New Issue