Hi all,
I have been using rez for a while at home - so no big pipeline here - really cool software! Helps me keep stuff tidy :)
Anyway, I never had to use rez-pip so far, until just recently when I had to install Pymel as some plugins I was using were expecting it, so I gave it a try. The problem is that, when I resolve an environment with both Pymel and Maya, Pymel also pulls in the python version provided by rez-bind --quickstart, which probably extends PYTHONPATH and messes up Maya.
If, instead of using the
package.py provided by that command, I modify it so it points at the system installed python - as pointed out in
Package Definition Guide - rez-pip stops working.
One workaround I found when using the rez-bind provided package is to have an ephemeral package declared from maya (e.g
.embeds_python) and other softwares that embed their own python version and then check if that exists in the environment from python's package definition, which won't declare its variables when the ephemeral is resolved, so that way I don't break rez-pip. But I wonder if there's a better way to do that.
Thanks for your help!
Matteo