So things did not work out of the box form me. The first trouble was when importing cv2 (opencv) libraries. For me I was able to get past this problem using hombrews python instead of the Mac's built-in version.
Then I run into two other errors,
- File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/macholib-1.6-py2.7.egg/macholib/MachOGraph.py", line 49, in locate loader=loader.filename) TypeError: dyld_find() got an unexpected keyword argument 'loader'
The problem was with macholib back to the definition of dyld_find() in dyld.py:
def dyld_find(name, executable_path=None, env=None, loader_path=None):
Changing line 49 in macOGraph from loader=loader.filename) to loader_path=loader.filename) fixed the problem
The solution was posted here: https://bitbucket.org/ronaldoussoren/py2app/issue/137/py2app-problems-using-enthought-python
- "ValueError: New Mach-O header is too large to relocate in…" Recompiling pygtk did the trick:
brew install pygtk -headerpad_max_install_names
Evernote helps you remember everything and get organized effortlessly. Download Evernote. |