Home > other >  Ubuntu16.04 use pyinstaller packaging pyqt5 error
Ubuntu16.04 use pyinstaller packaging pyqt5 error

Time:09-30

Say first environment:
OS: ubuntu 16.04 LTS
Python: anconda3 python3.6.5
PyQt5:5.9.2 through PIP install installation
Qmake: 3.1
Pyinstaller: 3.4 through the PIP install installation
When using pyinstaller packaging need to add anconda3 lib file is added to the environment variables, or complains, I added in the bashrc # export LD_LIBRARY_PATH=my anconda address/lib: $LD_LIBRARY_PATH can successfully packaged after this statement, but in running the program times wrong:
 
/TMP/_MEIkU4hM4 h5py/set py: 36: FutureWarning: the Conversion of the second argument of issubdtype from ` float ` to ` np. The floating ` is deprecated. In the future, it will be treated as ` np. Float64.==np dtype (float). Type `.
Traceback (the most recent call last) :
The File "train_tool. Py", line 27, the in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "object_detection/builders/dataset_builder. Py, line 27, the in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "object_detection/data_decoders/tf_example_decoder. Py, line 27, the in & lt; module>
The File "site - packages/tensorflow/python/util/lazy_loader py", line 53, in __getattr__
The File "site - packages/tensorflow/python/util/lazy_loader py", line 42, in _load
The File "importlib/set py", line 126, in import_module
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 994, in _gcd_import
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/set py", 30, the line in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/cloud/set py", line 28, the in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/bigtable/set py", line 29, in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/bigtable/python/ops/bigtable_api py", line 34, in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/data/set py", line 81, in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 971, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 955, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 665, in _load_unlocked
The File "/home/kanghao/anaconda3/lib/python3.6/site - packages/PyInstaller/loader/pyimod03_importers py", line 627, in exec_module
Exec (the bytecode, the module __dict__)
The File "site - packages/tensorflow/contrib/data/python/ops/error_ops py", line 20, in & lt; module>
The File "& lt; Frozen importlib. _bootstrap & gt;" nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related