py2app problems, getting errors

后端 未结 1 827
醉梦人生
醉梦人生 2021-01-17 06:48

I\'m trying to test out the functionality of py2app, for creating standalone mac applications. I generated a setup file for my test code, called \'hello.py\'.



        
1条回答
  •  一生所求
    2021-01-17 07:13

    There is a small hack that will work for this problem,

    1. Go to your path /Users/Apollo/miniconda/lib/python2.7/site-packages/macholib/MachOGraph.py and open this file.
    2. On line 49, change loader=loader.filename to loader_path=loader.filename

    Run the setup.py again.

    0 讨论(0)
提交回复
热议问题