Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37861 - [util-linux] python bindings to libmount don't work
Attached to Project:
Arch Linux
Opened by Nikos Skalkotos (skalkoto) - Thursday, 21 November 2013, 12:13 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 12 December 2013, 15:34 GMT
Opened by Nikos Skalkotos (skalkoto) - Thursday, 21 November 2013, 12:13 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 12 December 2013, 15:34 GMT
|
DetailsDescription:
If you try to import libmount from python you get: importError: No module named 'pylibmount' Additional info: * util-linux 2.24-1 Steps to reproduce: python -c 'import libmount' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.3/site-packages/libmount/__init__.py", line 1, in <module> from pylibmount import * ImportError: No module named 'pylibmount' |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 12 December 2013, 15:34 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.24-2
Thursday, 12 December 2013, 15:34 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.24-2
$ export PYTHONPATH=/usr/lib/python3.3/site-packages/libmount/
$ python -c 'import libmount'
$
http://www.spinics.net/lists/util-linux-ng/msg08569.html