My experience with python in amiga OS 2.1 was it needed a lot of stack. Perhaps this also works in os3.9? Try increase the stack which back then allowed max 25000 (using the command 'stack 25000').
A larger value for stack on OS3.x is allowed, and depending on your python-script may be needed.
As to the "get additional python libs", I do not see how you can get around compiling.
Any pure-python extension that is 'old enough' has a chance to work by simply copying the python files to the default locations in the python distribution (site-libs) or adding then to the pythonpath.
If the extension you are trying to add uses compiled results you will have to get it to compile (so start from source code) for os3.9 using gcc.
I judge this will be tricky even for those experienced with gcc and python. I have had trouble (symbols, unexpected code tricks) compiling python extensions for python2.6.6 on linux. For amiga os and older python this for sure be worse.
I haven't experience with os3.9, may be easier.