[Python] rez-env -c which python 17:14:32 ERROR PackageCommandError: Error in post_commands in...

Discussão em 'Python' iniciado por Stack, Abril 28, 2025.

  1. Stack

    Stack Membro Participativo

    I'm new to rez. I ran rez bind --quickstart and got the following:

    PS C:\WINDOWS\system32> rez-bind python
    searching d:\opt\rez\Lib\site-packages\rez\bind...
    creating package 'python' in C:\Users\Dev03\packages...
    15:14:09 WARNING Skipping installation: Package variant already exists: c:\users\dev03\packages\python\3.11.9\package.py[0]

    PS C:\WINDOWS\system32> rez-env -c which python
    17:14:32 ERROR PackageCommandError: Error in post_commands in package 'c:\\users\\dev03\\packages\\python\\3.11.9\\package.py[0]':
    [WinError 3] The system cannot find the path specified: 'c:\\users\\dev03\\packages\\python\\3.11.9\\platform-windows\\arch-AMD64\\os-windows-10.0.19045.SP0\\python'


    I tried to remove the python package and rebind it but it did not work:

    PS C:\WINDOWS\system32> rez rm -p python
    usage: rez rm [-h] [-p PACKAGE | -f FAMILY | --force-family | -i DAYS] [--dry-run] [-v] [PATH]
    rez rm: error: Must specify PATH with --package

    Continue reading...

Compartilhe esta Página