Re: getting a python module accepted by python?
* "Sean 'Shaleh' Perry"
| I am trying to package soaplib, a python SOAP implementation. I copy the lone
| soaplib.py to usr/lib/python1.5/site-packages/soaplib. My postinst runs
| compileall.py (I copied python-xml).
|
| When I try to 'import soaplib' in python, I get an error:
|
| ImportError: No module named soaplib
|
| anyone know what I am missing?
if you put it in ../site-packages/soaplib, you'll probably need to do
'import soaplib.soaplib'.
I guess the fix is obvious.
--
Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.
Reply to: