Error running packaged python program using pyqt5 and cryptograpy module -


so i've written small program encrypt text, using cryptography module , pyqt5 gui stuff around it. ive packaged pyinstaller , cx_freeze resulting in different errors when trying launch app. standalone program works when launch python.

pyinstaller:

jfk422@jfk422-mlinux ~/desktop/axon/build/index $ ./index error loading python lib '/home/jfk422/desktop/axon/build/index/libpython3.6m.so.1.0': /home/jfk422/desktop/axon/build/index/libpython3.6m.so.1.0: cannot open shared object file: no such file or directory 

cx_freeze:

jfk422@jfk422-mlinux ~/desktop/axon/build/exe.linux-x86_64-3.6 $ ./index traceback (most recent call last):   file "/usr/local/lib/python3.6/site-packages/cx_freeze/initscripts/__startup__.py", line 14, in run     module.run()   file "/usr/local/lib/python3.6/site-packages/cx_freeze/initscripts/console.py", line 26, in run     exec(code, m.__dict__)   file "index.py", line 1, in <module>   file "/home/jfk422/desktop/axon/create.py", line 2, in <module>     cryptography.fernet import fernet   file "/usr/local/lib/python3.6/site-packages/cryptography/fernet.py", line 17, in <module>     cryptography.hazmat.primitives import hashes, padding   file "/usr/local/lib/python3.6/site-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>     cryptography.hazmat.bindings._padding import lib modulenotfounderror: no module named '_cffi_backend' 

source code: https://github.com/jfk422/axon

other information: python 3.6.1 distro: linuxmint version: 18.1 kernel: 4.4.0-92-generic


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -