I'm trying to upgrade my mylar install to Mylar3 on Windows 10 and seem to be stuck on a Pillow/PIL thing.
I cloned the new version (9ec6b1c, I think) and followed the instructions to move my install over, installing Python 3.9.6 in the process. When it came to installing the requirements it failed on pillow, saying there weren't binaries for Windows yet. After searching the forum I noticed someone mention that you could comment Pillow out in the requirements and install it manually, which I've done (version 8.3.1).
The problem I have now is that when I try to run Mylar I get the error below.
Is anyone able to tell help me resolve this? Python isn't really my thing.
Thanks
Code: Select all
Traceback (most recent call last):
File "C:\mylar3\mylar\getimage.py", line 23, in <module>
from PIL import Image
File "C:\Python3\lib\site-packages\PIL\Image.py", line 114, in <module>
from . import _imaging as core
ImportError: DLL load failed while importing _imaging: %1 is not a valid Win32 application.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\mylar3\Mylar.py", line 26, in <module>
import mylar
File "C:\mylar3\mylar\__init__.py", line 41, in <module>
from mylar import logger, versioncheckit, rsscheckit, searchit, weeklypullit, PostProcessor, updater, helpers
File "C:\mylar3\mylar\logger.py", line 24, in <module>
from mylar import helpers
File "C:\mylar3\mylar\helpers.py", line 42, in <module>
from mylar import db, sabnzbd, nzbget, process, getcomics, getimage
File "C:\mylar3\mylar\getimage.py", line 28, in <module>
logger.warn('[WARNING] PIL is not available - it\'s used to resize images for notifications, and other things.')
NameError: name 'logger' is not defined