You are not logged in.

#1 2015-04-08 22:19:18

chikinn
Member
Registered: 2014-04-09
Posts: 42

[SOLVED] taglib won't import after upgrading python to 3.4.3-2

When I try

import taglib

I get:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python3.4/site-packages/taglib.cpython-34m.so: undefined symbol: AnnotateIgnoreReadsBegin

I tried reinstalling taglib, no dice.  But now that I've downgraded python to 3.4.3-1, it works again.

Anyone know what's up?  Thanks in advance!

Last edited by chikinn (2015-05-14 00:43:55)

Offline

#2 2015-04-08 22:48:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] taglib won't import after upgrading python to 3.4.3-2

where did that file come from? I don't find it in the repos.

The python ABI changed, all C extensions need rebuilt.

Offline

#3 2015-04-08 22:49:51

chikinn
Member
Registered: 2014-04-09
Posts: 42

Re: [SOLVED] taglib won't import after upgrading python to 3.4.3-2

Scimmia wrote:

The python ABI changed, all C extensions need rebuilt.

Aha, that explains it.

The file is from here: https://www.archlinux.org/packages/extra/x86_64/taglib/

Last edited by chikinn (2015-04-08 22:50:16)

Offline

#4 2015-04-08 22:51:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] taglib won't import after upgrading python to 3.4.3-2

chikinn wrote:
Scimmia wrote:

The python ABI changed, all C extensions need rebuilt.

Aha, that explains it.

The file is from here: https://www.archlinux.org/packages/extra/x86_64/taglib/

No, it's not. That package does not contain any python files.

Offline

#5 2015-04-08 22:55:39

chikinn
Member
Registered: 2014-04-09
Posts: 42

Re: [SOLVED] taglib won't import after upgrading python to 3.4.3-2

Scimmia wrote:

No, it's not. That package does not contain any python files.

Oh, good point.  It was probably from pytaglib (https://aur.archlinux.org/packages/python-pytaglib/), which I had forgotten about.  I bet reinstalling it fixes the problem.  Thanks!

Last edited by chikinn (2015-12-17 22:30:04)

Offline

Board footer

Powered by FluxBB