How to make colour aware of oiio on a mac? #1000
-
Hi; I installed opemi,mageio using homewbrew on a mac - I can invoke oiiotool from the terminal to confirm it works. Yet, when I run any script that uses colour, I see this warning:
What more must I do to help these two buddies find one another? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm unsure how to remove this item, but I eventually figured this out: oiio can be installed via homebrew, which has its own preferred Python version, which in turn controls which version of oiio one gets. As of this writing, that's Python 3.9; oiio won't be 'seeable' by other python versions. As I use pyenv to manage versions, I was a bit confused about how to manage this. My way to solve it was to install python 3.9, install oiio and dependencies, then install colour-science (I don't think this order matters, it's just what I did). Versions harmonized, colour and oiio seem to now 'just work'. The downside is that I'm boxed into a python version I don't prefer, but that's more an issue for the maintainers of the oiio homebrew installation, and has nothing to do with colour. |
Beta Was this translation helpful? Give feedback.
I'm unsure how to remove this item, but I eventually figured this out: oiio can be installed via homebrew, which has its own preferred Python version, which in turn controls which version of oiio one gets. As of this writing, that's Python 3.9; oiio won't be 'seeable' by other python versions. As I use pyenv to manage versions, I was a bit confused about how to manage this.
My way to solve it was to install python 3.9, install oiio and dependencies, then install colour-science (I don't think this order matters, it's just what I did). Versions harmonized, colour and oiio seem to now 'just work'. The downside is that I'm boxed into a python version I don't prefer, but that's more an issue f…