I accidentally installed 32-bit python, and after uninstalling it, when I tried to delete C:\Python27\, and I was able to delete everything except C:\Python27\Scripts\pyinstaller.exe. Even when I try to uninstall it as an administrator, it tells me I require permission from the computer's administrator to delete it.

Advanced security settings as myself: enter image description here

Advanced security settings as administrator: enter image description here

Does anyone know what's up?

  • Take ownership of the file, then grant yourself Full Control permission to the file...then delete it. Jun 29 '17 at 2:20
  • @Twisty But how
    – Aido
    Jun 29 '17 at 2:22
  • Click Change to the right of Owner (first screen shot) Jun 29 '17 at 2:23
  • @Twisty It wouldn't let me. After a reboot, I could delete the file though.
    – Aido
    Jun 29 '17 at 2:29
  • In that case the file must have been in use by another process. Glad that worked! Jun 29 '17 at 2:30

Apparently, something funny happened with the pyinstaller exe, and after a reboot I could delete it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.