Parcourir la source

Fix "No module named 'numpy.random.common'" in pyinstaller

Close #465
Kentaro Wada il y a 5 ans
Parent
commit
b6694d14fa
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      .travis.yml

+ 5 - 0
.travis.yml

@@ -127,6 +127,11 @@ script:
 
       # Build the standalone executable
       pip install 'pyinstaller!=3.4'  # 3.4 raises error
+
+      # numpy 1.17 raises error
+      # See https://github.com/wkentaro/labelme/issues/465
+      pip install 'numpy<1.17'
+
       pyinstaller labelme.spec
       dist/labelme --version
     fi