Thierry Seunevel added the comment: Many thanks for your answers. printing the sys.path gave me this output (parsed with newlines) '', 'D:\\soft\\python\\lib', 'D:\\Thierry\\python\\d\\thierry\\python', <---- mispelled 'C:\\Windows\\system32\\python27.zip', 'd:\\soft\\python\\DLLs', 'd:\\soft\\python\\lib\\plat-win', 'd:\\soft\\python\\lib\\lib-tk', 'd:\\soft\\python', 'd:\\soft\\python\\lib\\site-packages'
I corrected the PATH and PYTHONPATH environment variables and now sys.path is '', 'd:\\thierry\\python', 'C:\\Windows\\system32\\python27.zip', 'd:\\soft\\python\\DLLs', 'd:\\soft\\python\\lib', 'd:\\soft\\python\\lib\\plat-win', 'd:\\soft\\python\\lib\\lib-tk', 'd:\\soft\\python', 'd:\\soft\\python\\lib\\site-packages' And it works ! ---------- resolution: -> fixed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19056> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com