Skip to content Skip to sidebar Skip to footer

Installing Python And Distribute On Windows 7 Gives "Writing Failed ... Permission Denied"

I'm on Windows 7 (which I fully admit I don't understand the permissions model of. I'm reading about it in other tabs.) My user is an administrator. When I try to run 'python dist

Solution 1:

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.


Solution 2:

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)

Post a Comment for "Installing Python And Distribute On Windows 7 Gives "Writing Failed ... Permission Denied""