AcademySoftwareFoundation / rez

An integrated package configuration, build and deployment system for software
https://rez.readthedocs.io
Apache License 2.0
931 stars 329 forks source link

rez-env python -- which python failed #1796

Open RPG3D opened 1 month ago

RPG3D commented 1 month ago

1 download rez-3.1.1.zip and unzip it 2 run python ./install.py SUCCESS! 3 add D:\opt\rez\Scripts\rez to PATH 4 restart terminal(powershell) 5 run rez-bind --quickstart OK 6 run rez-env python -- which python failed, and get message:

PackageCommandError: Error in post_commands in package 'c:\\users\\admin\\packages\\python\\3.11.2\\package.py[0]': [WinError 3] The system cannot find the path specified: 'c:\\users\\admin\\packages\\python\\3.11.2\\platform-windows\\arch-AMD64\\os-windows-10.0.22631.SP0\\python'

instinct-vfx commented 1 month ago

rez-bind in general is to be deprecated in the future. rez-bind --quickstart is particularly broken on Windows sadly. You can use rez-bind to bind arch , os and platform, but python is likely to break. Here is an alternative solution i created to fill the gap until a more sophisticated replacement is available: https://github.com/instinct-vfx/rez-quickstart-win