installing cx_Freeze to python at windows

时光毁灭记忆、已成空白 提交于 2019-11-28 17:31:48

I faced a similar problem (Python 3.4 32-bit, on Windows 7 64-bit). After installation of cx_freeze, three files appeared in c:\Python34\Scripts\:

  • cxfreeze
  • cxfreeze-postinstall
  • cxfreeze-quickstart

These files have no file extensions, but appear to be Python scripts. When you run python.exe cxfreeze-postinstall from the command prompt, two batch files are being created in the Python scripts directory:

  • cxfreeze.bat
  • cxfreeze-quickstart.bat

From that moment on, you should be able to run cx_freeze.

cx_freeze was installed using the provided win32 installer (cx_Freeze-4.3.3.win32-py3.4.exe). Installing it using pip gave exactly the same result.

go to https://pypi.python.org/pypi?:action=display&name=cx_Freeze&version=4.3.4 and click the one you want to download :)

Make sure the Version of Python is correct, if you have more than one version on your computer, just simply type "python" in console to check the version of your python. I just had this problem earlier.

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