問題描述
我正在嘗試在 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 時出錯"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!