Skip to content
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: PySide6/libpyside6.abi3.so.6.7: undefined symbol #400

Open
lsaffre opened this issue Jul 22, 2024 · 2 comments
Open

ImportError: PySide6/libpyside6.abi3.so.6.7: undefined symbol #400

lsaffre opened this issue Jul 22, 2024 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@lsaffre
Copy link

lsaffre commented Jul 22, 2024

The problem

After running "pip install naturtag" and "pip install tablib", I have a traceback when I invoke "naturtag":

$ naturtag
Traceback (most recent call last):
File "/home/luc/virtualenvs/dev/bin/naturtag", line 5, in
from naturtag.cli import main
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/naturtag/init.py", line 2, in
from naturtag.metadata import MetaMetadata, refresh_tags, tag_images
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/naturtag/metadata/init.py", line 9, in
from naturtag.metadata.inat_metadata import (
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/naturtag/metadata/inat_metadata.py", line 17, in
from naturtag.utils.image_glob import get_valid_image_paths
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/naturtag/utils/init.py", line 3, in
from naturtag.utils.thumbnails import generate_thumbnail
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/naturtag/utils/thumbnails.py", line 8, in
from PySide6.QtGui import QPixmap
ImportError: /home/luc/virtualenvs/dev/lib/python3.10/site-packages/PySide6/libpyside6.abi3.so.6.7: undefined symbol: _ZN9QtPrivate25QMetaTypeInterfaceWrapperIP7QObjectE8metaTypeE, version Qt_6

Environment

  • OS & version: Ubuntu bookworm/sid
  • Python version: 3.10
  • Naturtag version or branch: main branch
@lsaffre lsaffre added the bug Something isn't working label Jul 22, 2024
@JWCook
Copy link
Member

JWCook commented Jul 22, 2024

Thanks for the bug report! I'll try to get that fixed soon.

@JWCook JWCook added this to the v0.8 milestone Jul 22, 2024
@JWCook
Copy link
Member

JWCook commented Aug 13, 2024

I believe this has been fixed in the latest pre-release build (0.8.0b3). You can get that from the installers here, or pip install -U --pre naturtag to install from PyPI.

There may still be some kinks to work out in the wheels on PyPI, though. Handling some of these binary dependencies with pip alone has been a bit tricky, which is why I started building platform-specific packages with PyInstaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants