Giter Site home page Giter Site logo

fbs freeze fails about fbs-tutorial HOT 4 CLOSED

mherrmann avatar mherrmann commented on June 5, 2024
fbs freeze fails

from fbs-tutorial.

Comments (4)

mherrmann avatar mherrmann commented on June 5, 2024 2

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.

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 5, 2024

I take it from your 👍 that Python 3.7 was the problem. Closing this issue.

from fbs-tutorial.

HarshAtArkay avatar HarshAtArkay commented on June 5, 2024

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

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 5, 2024

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.

from fbs-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.