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 时出错"
基础教程推荐
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
