[issue4581] failed to import module from lib-dynload

Leger report at bugs.python.org
Sun Dec 7 22:36:28 CET 2008


Leger <legerf at free.fr> added the comment:

- "configure --with-pydebug --with-doc-strings --enable-shared
--enable-profiling --enable-ipv6 --with-threads --with-tsc --prefix=/usr"

- ">>> print(sys.exec_prefix)
/usr/lib/python3.0"
>>> print(sys.path)
['', '/usr/lib/python3.0', '/home/fred/python',
'/usr/lib/python3.0/lib-dynload', '/usr/lib/python3.0/lib/python30.zip',
'/usr/lib/python3.0/lib/python3.0',
'/usr/lib/python3.0/lib/python3.0/plat-linux2',
'/usr/lib/python3.0/lib/python3.0/lib-dynload']
[33634 refs]
>>> import time
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named time"

I don't understand why I see "/usr/lib/python3.0/lib/python3.0/..." and
why the time can't import, it is in "/usr/lib/python3.0/lib-dynload"

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4581>
_______________________________________


More information about the Python-bugs-list mailing list