Problem importing Pillow and numpy modules

Hey guys,

I am trying to import pillow and numpy modules into my channel (to do some image processing), but it does not work I get the following issue:

CRITICAL (core:613) - Exception starting plug-in (most recent call last): File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/core.py", line 606, in start File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 256, in execute File "/Users/MCSanchez/Library/Application Support/Plex Media Server/Plug-ins/HelloHue.bundle/Contents/Code/__init__.py", line 20, in <module> from PIL import Image, ImageStat File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 345, in __import__ ImportError: dlopen(/Users/MCSanchez/Library/Application Support/Plex Media Server/Plug-ins/HelloHue.bundle/Contents/Libraries/Shared/PIL/_imaging.so, 2): Symbol not found: _PyUnicodeUCS2_AsLatin1String Referenced from: /Users/MCSanchez/Library/Application Support/Plex Media Server/Plug-ins/HelloHue.bundle/Contents/Libraries/Shared/PIL/_imaging.so Expected in: flat namespace in /Users/MCSanchez/Library/Application Support/Plex Media Server/Plug-ins/HelloHue.bundle/Contents/Libraries/Shared/PIL/_imaging.so

Any idea on what is wrong with the modules?

Thanks!

If you haven’t already done so, you could try setting the elevated code policy flag in the info.plist.

<key>PlexPluginCodePolicy</key>
<string>Elevated</string>

I have already put this setting, doesn’t work :confused: