Closed blurymind closed 5 years ago
It seems you are using Python 3.7. Does the problem also occur when you use Python 3.5 or 3.6?
From the README:
Python 3.7 is not yet supported and may not work.
I take it from your :+1: that Python 3.7 was the problem. Closing this issue.
Hi, @mherrmann I am facing this error. Python 3.5.3 OS: macOS Mojave (101.4.6)
(venv) MacMinis-Mac-mini:build_trest macmini$ fbs freeze
----------------------------------------
Error running 'upx -V':
[Errno 20] Not a directory
----------------------------------------
Error: Executing command failed!
Traceback (most recent call last):
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/bin/fbs", line 11, in <module>
load_entry_point('fbs==0.8.4', 'console_scripts', 'fbs')()
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/__main__.py", line 17, in _main
fbs.cmdline.main()
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/cmdline.py", line 32, in main
fn(*args)
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/builtin_commands/__init__.py", line 114, in freeze
freeze_mac(debug=debug)
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/freeze/mac.py", line 22, in freeze_mac
run_pyinstaller(args, debug)
File "/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/freeze/__init__.py", line 47, in run_pyinstaller
run(args, check=True)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['pyinstaller', '--name', 'Build_test', '--noupx', '--log-level', 'ERROR', '--noconfirm', '--windowed', '--icon', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/target/Icon.icns', '--distpath', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/target', '--specpath', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/target/PyInstaller', '--workpath', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/target/PyInstaller', '--additional-hooks-dir', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/venv/lib/python3.5/site-packages/fbs/freeze/hooks', '--runtime-hook', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/target/PyInstaller/fbs_pyinstaller_hook.py', '/Users/macmini/Documents/harsh/workspace/pyqt/build_trest/src/main/python/main.py']' returned non-zero exit status 1
Hi, sorry I don't know why that is. If you have a minimal example that reproduces the problem, please open a new issue with further details.
with this error: