[New-bugs-announce] [issue4581] failed to import module from lib-dynload

Leger report at bugs.python.org
Sun Dec 7 21:41:17 CET 2008


New submission from Leger <legerf at free.fr>:

I test PY3K.final under Debian/Lenny. 
- Install steps "Configure, make, make test, make install don't generate
errors for the modules in "lib-dynload".

- "/usr/lib/python3.0/lib-dynload", contain modules (time.so, math.so, ...)

- print(sys.path) = ['', '/usr/lib/python3.0', '/home/fred/python',
'/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']

- When I launch "python3.0" no error is generate, but when I try to
import modules in "lib-dynload" :

Python 3.0 (r30:67503, Dec  7 2008, 19:22:34) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named time
[33620 refs]

----------
components: Library (Lib)
messages: 77251
nosy: legerf
severity: normal
status: open
title: failed to import module from lib-dynload
type: resource usage
versions: Python 3.0

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


More information about the New-bugs-announce mailing list