ImportError: cannot import name MAXREPEAT with cx_Freeze

后端 未结 6 644
梦谈多话
梦谈多话 2020-12-18 21:04

I\'m running into an issue with cx_Freeze when running a frozen application (works fine unfrozen).

When running the program it results in the following

6条回答
  •  一生所求
    2020-12-18 21:38

    I encountered this problem when I just upgraded from ubuntu 12.10 to 13.04, and I fixed this by copying the /usr/bin/python to /path/to/my/env/bin/, and it worked just fine

    cp /user/bin/python /path/to/my/env/bin/

    or, there's a more elegant way to fix this(reference):

    mkvirtualenv

提交回复
热议问题