Re: Getting RuntimeError: invalid slot offset when importing a module

2013-11-20 Thread dellair
Steven, Thanks for the reply, There was no error on compilation and link phases, only some warnings. However, during Python build, there is an import phase right after the link, which shows the same error as stated. building '_ssl' extension xlc_r -DNDEBUG -O -IInclude -I. -I/usr/local/include

Re: Getting RuntimeError: invalid slot offset when importing a module

2013-11-20 Thread dellair
Environment: Python: 3.3.2 OpenSSL: 0.9.8y (also tried 0.9.7) OS: AIX 6.1 (also tried on HPUX_1131_IA) Thanks, 在 2013年11月20日星期三UTC+1上午9时21分23秒,del...@gmail.com写道: > Hello all, > > > > I am getting above error when trying to import ssl module. > > In fact, the error showed up during the build

Re: Getting RuntimeError: invalid slot offset when importing a module

2013-11-20 Thread Steven D'Aprano
On Wed, 20 Nov 2013 00:21:23 -0800, dellair wrote: > Hello all, > > I am getting above error when trying to import ssl module. In fact, the > error showed up during the build and _ssl module was added to the failed > module list. However, the compilation and link went well. If the _ssl module fa

Getting RuntimeError: invalid slot offset when importing a module

2013-11-20 Thread dellair
Hello all, I am getting above error when trying to import ssl module. In fact, the error showed up during the build and _ssl module was added to the failed module list. However, the compilation and link went well. Could anyone shed some lights on how to get it work? Thanks in advance! Br, --