简体   繁体   English

cx_Freeze python 3.4无法安装(Windows 10)

[英]cx_Freeze python 3.4 unable to install (Windows 10)

I am running Windows 10 64-bit. 我正在运行Windows 10 64位。 I tried getting cx_freeze for Python 3.4 (which I have installed) but the moment i tell it to Install it stops responding and windows closes the installer. 我尝试为Python 3.4(已安装)获取cx_freeze,但是当我告诉它安装时,它停止响应并且Windows关闭安装程序。 I have looked for a solution through and through but I can't find a similar question, let alone an answer. 我一直在寻找解决方案,但找不到类似的问题,更不用说答案了。 It seems I am the only one having this problem. 看来我是唯一有这个问题的人。

I have also tried using the command prompt to install cx_Freeze using this command: 我也尝试使用命令提示符使用以下命令安装cx_Freeze:

py -3.4 -m pip install cx_Freeze

It says that 它说

PermissionError: [WinError 5] Access is denied: 
'C:\\Program Files (x86)\\Python34\\Lib\\site-packages\\cx_Freeze'

I was facing the same issue. 我面临着同样的问题。 What worked for me was installing a python package (WinPython), where the most important things are preinstalled (pandas, numpy, scipy etc. AND cx_freeze). 对我有用的是安装一个python软件包(WinPython),其中预装了最重要的东西(熊猫,numpy,scipy等,以及cx_freeze)。 It's an easy way to get python running and having a good IDE (Spyder). 这是使python运行并具有良好的IDE(Spyder)的简单方法。

Visit: http://winpython.github.io/#releases 造访: http : //winpython.github.io/#releases

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM