PIL package in Revit 2022 with python-3.10.5

Hi,

I have a problem using PIL (version 9.1.1) in Revit 2022 with python-3.10.5


What am I missing?

Hello,
you must save to validate the change of the Python engine.
image

It is not advisable to mix CPython packages versions (currently Dynamo CPython engines are in version 3.8.xx 64bits)

this page

and this topic may be help you

2 Likes

Thanks for your response and the links. But I still don’t know how to solve this issue.

I am getting this warning now.

If I import everything and I use ‘dir’, it seems that all is good.

But as soon as I use ‘Image’ from PIL, I got some warnings.

I think your PIL package (3.10) is not compatible with the current engine Cpython 3.8.x 64bits.

look at the links that I gave concerning the procedure to install packages

1 Like

It is working!!!

I followed this:

Thank you veeeeery much for your help!!! @c.poupin

1 Like