LoginSignup
1
0

More than 3 years have passed since last update.

exe化できなかった

Last updated at Posted at 2019-08-26

試したもの

  • pyinstaller
  • py2app (py2exeはwindows用?)
  • fbs
  • cx_Freeze

pyinstaller

pyinstaller --hidden-import="sklearn.utils._cython_blas" --hidden-import="sklearn.neighbors.typedefs" --hidden-import="sklearn.neighbors.quad_tree" --hidden-import="sklearn.tree._utils" tkintertest.py --onefile

で実行すると、exeファイルは作成できた。しかし、一回のクリックで延々と実行される。

エラー:

Can not find path ./libtbb.dylib (needed by /usr/local/lib/python3.7/site-packages/numba/npyufunc/tbbpool.so)

liborsaをimportすると上記のエラーが発生する。
liborsaで使ったものは以下の通り。

librosa.load
librosa.effects.hpss
librosa.cqt
librosa.feature.chroma_cqt
librosa.amplitude_to_db

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0