#Access denied when trying to remove directory?

7 messages · Page 1 of 1 (latest)

tacit bough
#

Access denied to Python install, any way around it?

loud sphinx
#

Did you run the launcher as admin ever? ( You should Not)

loud sphinx
#

Can you try a repair install on step 4 is a checkbox for this

tacit bough
#

Starting up...
Installation parameters:

  • Invoke version: v6.0.2
  • Install location: C:\AI\Invoke
  • Python version: 3.12
  • GPU type: nvidia>=30xx
  • Torch platform: cuda
  • Using torch index: https://download.pytorch.org/whl/cu128
    Repair mode enabled:
  • Force-reinstalling python
  • Deleting and recreating virtual environment
    Installing Python 3.12...

C:\Users\gralg\AppData\Local\Temp\2xlkepy8Rhkg3A9ZyXAxYG0nJbU\resources\bin\uv.exe python install 3.12 --python-preference only-managed --reinstall
Downloading cpython-3.12.9-windows-x86_64-none (20.2MiB)
Downloaded cpython-3.12.9-windows-x86_64-none
error: Failed to install cpython-3.12.9-windows-x86_64-none
Caused by: failed to remove directory C:\Users\gralg\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none: Access is denied. (os error 5)
Failed to install Python: Process exited with code 1
Try installing again with Repair mode enabled to fix this.
Ask for help on Discord or GitHub if you continue to have issues.

#

rebooted computer, deleted temp folder, it's moving right along.