cx_freeze ImportError: No module named 'idna'

孤人 提交于 2019-12-08 20:45:33

Save:

# thanks to https://www.youtube.com/watch?v=GSoOwSqTSrs
from cx_Freeze import setup, Executable

setup(
    name='KutsalAklinNerde?',
    version='0.1',              #Further information about its version
    description='Parse stuff',  #It's description
    executables= [Executable("Example.py")])

as setup.py in the same directory of your Example.py (the .py you want to convert to .exe)

And then run >python setup.py build in that directory with command prompt.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!