Explorar el Código

support install on windows (#2965)

zhangyubo0722 hace 9 meses
padre
commit
c0cb0625b9
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. 2 0
      paddlex/repo_manager/repo.py
  2. 3 0
      requirements.txt

+ 2 - 0
paddlex/repo_manager/repo.py

@@ -372,6 +372,8 @@ class RepositoryGroupInstaller(object):
             if n in repo_pkgs:
                 # Skip repo packages
                 continue
+            elif check_installation_using_pip(n):
+                continue
             else:
                 line_n = [n]
                 fe = f"[{','.join(e)}]" if e else ""

+ 3 - 0
requirements.txt

@@ -9,7 +9,10 @@ ruamel.yaml
 chardet
 numpy==1.24.4
 matplotlib==3.5.2
+albumentations==1.4.10
 opencv-python==4.5.5.64
+opencv-python-headless==4.10.0.84
+opencv-contrib-python==4.10.0.84
 chinese_calendar
 scikit-learn
 pycocotools