Python 安装程序:“写入文件 C:\Python27\pythonw.exe 时出错"; [英] Python Installer: "Error writing to file C:\Python27\pythonw.exe"

查看:67
本文介绍了Python 安装程序:“写入文件 C:\Python27\pythonw.exe 时出错";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows 10 上安装 Python 2.7(64 位).在安装过程中,弹出一个窗口说:

I am trying to install Python 2.7 (64 bit) on Windows 10. In the middle of the installation, a window pops up saying:

写入文件 C:\Python27\pythonw.exe 时出错.确认您有访问该目录

Error writing to file C:\Python27\pythonw.exe. Verify that you have access to that directory

如何解决此问题并安装 Python?

How can I resolve this issue and install Python?

推荐答案

当安装程序没有您要安装到的驱动器/文件夹的管理员权限时,通常会遇到此错误.我还注意到您正在安装到驱动器 C:

This error is normally encountered when the installer does not have admin rights for the drive/folder you are installing to. I also noticed that you are installing to drive C:

您可以尝试以下几件事.

Here are a couple of things for you to try.

右键单击打开安装程序,然后选择以管理员身份运行".

Open the installer program by right-clicking, and then selecting "Run as Administrator".

根据您的 PC 设置方式,您可能无权在驱动器 C 上安装:

Depending on how you have your PC set up you may not have permission to install on drive C:

如果这是一台工作计算机,请咨询您的 IT 部门.否则,请认真考虑使用不同的驱动器来将您的操作系统和应用程序分开.

If this is a work computer, talk to your IT department. Otherwise, seriously consider using different drives to keep your OS and your applications separated.

这篇关于Python 安装程序:“写入文件 C:\Python27\pythonw.exe 时出错";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆