[sword-devel] Python bindings

Tim Hawes thawes at althusius.net
Wed Jan 5 05:23:37 MST 2005


I have compiled sword on both Solaris and Linux, and get the same results in 
trying to compile the python bindings.
cd sword-1.5.7/bindings/swig/package/
./autogen  (cp -a is not portable to Solaris, BTW)
./configure
make pythonswig python_make
su
cd python
python setup.py install
Everything seems to go well,
then
python
import Sword
>>> import Sword
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/Sword.py", line 5, in ?
    import _Sword
ImportError: No module named _Sword

Sword.py appears to be a swig generated file. Anyone have insight as to what 
is broken (the process or my method)?

-- 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

  Tim Hawes

     ***Althusius.net***
      http://Althusius.net

          thawes at althusius.net

---------------------------------------------------------
 Toleration is an inner personal disposition, is a
fundamental requirement of being human and of living
together in society . . .When toleration becomes
indifference, it is ruined.                -Van Ruler



More information about the sword-devel mailing list