| View previous topic :: View next topic |
| Author |
Message |
Negated Void l33t

Joined: 25 Dec 2002 Posts: 672
|
Posted: Thu Nov 10, 2016 7:52 pm Post subject: lddtree: ImportError: No module named 'elftools' |
|
|
Hey,
Trying to update my system. I use LUKS and genkernel, so I run "genkernel --no-clean --luks all" to generate my initrd etc.
It seems to be unable to include LUKS right now:
| Quote: | * Including LUKS support
Traceback (most recent call last):
File "/usr/bin/lddtree", line 52, in <module>
from elftools.elf.elffile import ELFFile
ImportError: No module named 'elftools'
|
lddtree comes from pax-utils, which are up-to-date:
| Quote: |
murph ~ # emerge -av pax-utils
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-misc/pax-utils-1.1.6-r1::gentoo USE="python seccomp -caps -debug" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No]
|
I don't have any special python stuff in my make.conf. I have python 3.5 set as default via eselect.
Any ideas how to fix this? |
|
| Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 22147
|
Posted: Fri Nov 11, 2016 2:21 am Post subject: |
|
|
| That error often means that you loaded the main script with Python interpreter version X, but the supporting Python library is only installed for Python interpreter version Y, for X != Y. You need to enable Python 3.5 support in the package that provides module elftools. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|