No module named builtins

前端 未结 4 466
离开以前
离开以前 2020-12-29 03:12

I\'m trying to convert my .py script into an executable using py2exe. I\'ve had a number of issues so far that have been largely addressed by the \"options\" in the setup fi

4条回答
  •  时光说笑
    2020-12-29 03:25

    Running pip install future fixed this error for me. For compatibility with Python2.7, the package future should be added to the install_requires in setup.py.

    Note that nosetests also fails without matplotlib, but I'm not sure adding matplotlib as a dependency makes much sense.

    Source

提交回复
热议问题