Installing Python and distribute on Windows 7 gives “Writing failed … permission denied”

被刻印的时光 ゝ 提交于 2019-12-02 03:12:41

It seems that you have to use the "Run as administrator" option when opening the command prompt, because, as your wife says, "Windows is f****d". As you seem to also have discovered, turning off UAC is one way to avoid getting a UAC dialog when doing so.

Explicitly granting "full control" to my own user for the whole system Python install directory and its subdirs makes easy_install work.

However, this isn't completely satisfactory:

  • easy_install still produces the UAC dialog. I'd like to turn this off because easy_install is a program I trust
  • easy_install still fires up in a new cmd window which then disappears, so I can't examine the output if I need to (e.g. when it failed earlier)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!