소스 검색

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

Close #465
Kentaro Wada 5 년 전
부모
커밋
b6694d14fa
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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