Skip to content

Commit

Permalink
added numpy to hidden imports
Browse files Browse the repository at this point in the history
  • Loading branch information
deinhofer authored Sep 11, 2024
1 parent c98838f commit 807b5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/pyinstaller/gesture-mouse.spec.win
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_all
datas = [('config', 'config'), ('data', 'data')]
# binaries = [('.\\venv\\Lib\\site-packages\\sklearn\\.libs\\vcomp140.dll', '.'),('.\\venv\\Lib\\site-packages\\sklearn\\.libs\\msvcp140.dll', '.')]
binaries = []
hiddenimports = ['sklearn.utils._typedefs','sklearn.neighbors._partition_nodes']
hiddenimports = ['sklearn.utils._typedefs','sklearn.neighbors._partition_nodes','numpy','numpy.core._dtype_ctypes']
tmp_ret = collect_all('mediapipe','scikit-learn')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]

Expand Down

0 comments on commit 807b5c0

Please sign in to comment.