Python Installer: quot;Error writing to file C:Python27pythonw.exequot;(Python 安装程序:“写入文件 C:Python27pythonw.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:Python27pythonw.exe 时出错.确认您有访问该目录
Error writing to file C:Python27pythonw.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:Python27pythonw.exe 时出错"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Python 安装程序:“写入文件 C:Python27pythonw.exe 时出错"


基础教程推荐
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 筛选NumPy数组 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01