schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

bbfreeze 1.1.2 VersionConflict with altgraph>=0.10 #21

Closed nandub closed 7 years ago

nandub commented 10 years ago

I get the following error when running bbfreeze on hello-world.py file

bbfreeze hello-world.py                                                                                                        
*** applied <function recipe_doctest at 0x10146c938>
*** applied <function recipe_time at 0x10146cc80>
*** applied <function recipe_urllib at 0x10146caa0>
Traceback (most recent call last):
  File "/usr/local/bin/bbfreeze", line 9, in <module>
    load_entry_point('bbfreeze==1.1.2', 'console_scripts', 'bbfreeze')()
  File "/usr/local/lib/python2.7/site-packages/bbfreeze/__init__.py", line 24, in main
    f()
  File "/usr/local/lib/python2.7/site-packages/bbfreeze/freezer.py", line 640, in __call__
    self.finish_dist()
  File "/usr/local/lib/python2.7/site-packages/bbfreeze/freezer.py", line 649, in finish_dist
    from macholib.MachOStandalone import MachOStandalone
  File "/usr/local/lib/python2.7/site-packages/macholib/__init__.py", line 10, in <module>
    __version__ = pkg_resources.require('macholib')[0].version
  File "build/bdist.macosx-10.8-x86_64/egg/pkg_resources.py", line 673, in require
  File "build/bdist.macosx-10.8-x86_64/egg/pkg_resources.py", line 580, in resolve
pkg_resources.VersionConflict: (altgraph 0.9 (/usr/local/lib/python2.7/site-packages), Requirement.parse('altgraph>=0.10'))
nandub commented 10 years ago

@schmir I used pip instead of easy_install not sure if that makes a different.

nandub commented 10 years ago

If I use altgraph>=0.10 then I get

...
    from altgraph.compat import *
ImportError: No module named compat

Which I think the module does not exist in >= 0.10

schmir commented 10 years ago

You seem to be running Mac OS X, which isn't supported by bbfreeze. I don't plan to implement support for it anymore, please use py2app.

nandub commented 10 years ago

Oh well. Thanks

thomasleveil commented 8 years ago

@schmir I have that same issue on Windows

schmir commented 8 years ago

Thanks for your notice, but I don't maintain bbfreeze anymore. Please consider using py2exe or pyinstaller.

doadin commented 8 years ago

Hey just wanted to let the people posted here @nandub @thomasleveil know i have fixed the altograph issue in my forked version "ccfreeze" you can get it via pip and my repos can be found here https://github.com/doadin/ccfreeze and https://github.com/doadin/ccfreeze_loader . It is still not osx compatible though as far as i know.