python3.7 安装cx_Freeze

时间:2022-10-25 18:02:13

遇到的问题简单描述:

1,直接 pip install cz_freeze  安装失败

2,pip cx_Free-*.*.*.tar.gz  安装失败

 

解决办法:

1,下载 cx_Freeze-5.1.1-cp37-cp37m-win_amd64.whl (地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze)

2,pip install cx_Freeze-5.1.1-cp37-cp37m-win_amd64.whl

3,打开命令行,cd 到 Python 脚本目录(我的C:\Users\chunming.tian\AppData\Local\Programs\Python\Python37\Scripts)

  在命令行中输入:python cxfreeze-postinstall

安装完成!

参考链接:http://osask.cn/front/ask/view/1317652

https://github.com/anthony-tuininga/cx_Freeze/issues/407

https://*.com/questions/50686243/cant-install-cx-freeze-or-scipy-for-python-3-7-64-bit