You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to use this package on Windows, despite it being flagged as "OS Independent" on the PyPi package page.
Error:
PS D:\Test picopt> picopt ?
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python312\Scripts\picopt.exe\__main__.py", line 4, in <module>
File "C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python312\Lib\site-packages\picopt\cli.py", line 9, in <module>
from picopt import PROGRAM_NAME, walk
File "C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python312\Lib\site-packages\picopt\walk.py", line 17, in <module>
from picopt.handlers.factory import create_handler
File "C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python312\Lib\site-packages\picopt\handlers\factory.py", line 27, in <module>
from picopt.pillow.webp_lossless import is_lossless
File "C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python312\Lib\site-packages\picopt\pillow\webp_lossless.py", line 8, in <module>
from mmap import PROT_READ, mmap
ImportError: cannot import name 'PROT_READ' from 'mmap' (unknown location)
I have Python 3.12 installed, and I installed picopt using 'pip'. The installation succeeded without any warnings.
From what I was able to gather, mmap is a Linux-only utility.
The text was updated successfully, but these errors were encountered:
I am unable to use this package on Windows, despite it being flagged as "OS Independent" on the PyPi package page.
Error:
I have Python 3.12 installed, and I installed picopt using 'pip'. The installation succeeded without any warnings.
From what I was able to gather, mmap is a Linux-only utility.
The text was updated successfully, but these errors were encountered: