-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: dlopen... symbol not found in flat namespace #541
Comments
I'm using M1 Mac mini. After trying this method , everything works fine now. |
Thanks for confirming m1. I'm surprised you are the only other one to report this. Can you add m1 to the title? Apple silicon |
Already change the title. Thanks for your help. |
Actually, I uninstalled everything in homebrew, I had some jpeg related stuff installed related to the Portal port. Can @Se7enYXS help me figure out which part caused the error? Please try normal python. Also @vinhtq115 did you run into this issue? Which python version did you use? |
I haven’t run into this issue yet. I am using Python 3.11.4 from Homebrew. Also, I always create a virtual environment from that Python for compiling kcc. |
Can confirm, python 3.11.4 from python.org works fine, does not need this method, just pip3 install mozjpeg-lossless-optimization, then every thing works. |
it seems resolved reopen if needed |
my python version is 3.10.13 |
@Observer5 Please try latest python 3.11. I use 3.11.4 3.12 isn't supported yet. |
When running kcc-c2e.py v5.6.2 on my Mac, there's an error :
Traceback (most recent call last):
File "/Users/se7en/Downloads/kcc-master/kcc-c2e.py", line 33, in
startC2E()
File "/Users/se7en/Downloads/kcc-master/kindlecomicconverter/startup.py", line 47, in startC2E
from .comic2ebook import main
File "/Users/se7en/Downloads/kcc-master/kindlecomicconverter/comic2ebook.py", line 45, in
from . import image
File "/Users/se7en/Downloads/kcc-master/kindlecomicconverter/image.py", line 23, in
import mozjpeg_lossless_optimization
File "/opt/homebrew/lib/python3.11/site-packages/mozjpeg_lossless_optimization/init.py", line 1, in
from .mozjpeg_opti import optimize
File "/opt/homebrew/lib/python3.11/site-packages/mozjpeg_lossless_optimization/mozjpeg_opti.py", line 1, in
from ._mozjpeg_opti import lib, ffi
ImportError: dlopen(/opt/homebrew/lib/python3.11/site-packages/mozjpeg_lossless_optimization/_mozjpeg_opti.abi3.so, 0x0002): symbol not found in flat namespace '_jpeg_copy_critical_parameters'
I already installed all requirements.
There's no issue when running kcc-c2e.py v5.5.2.
Seems like an issue with mozjpeg-lossless-optimization package.
The text was updated successfully, but these errors were encountered: