[CIG-SHORT] pylith error

Matthew Knepley knepley at gmail.com
Wed Sep 26 05:06:37 PDT 2007


It needs to be in your PYTHONPATH.

  Matt

On 9/26/07, Christopher DiCaprio <dicaprio at gps.caltech.edu> wrote:
> I have built pylith from source and when I try to run it I get the
> following error:
>
> klaki:~> pylith --help
> Traceback (most recent call last):
>    File "/home/dicaprio/local/pylith-build/bin/pylith", line 31, in ?
>      from pylith.PyLithApp import PyLithApp
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 20, in ?
>      class PyLithApp(Application):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 27, in PyLithApp
>      class Inventory(Application.Inventory):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/PyLithApp.py", line 50, in Inventory
>      from pylith.problems.TimeDependent import TimeDependent
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/TimeDependent.py", line 20, in ?
>      from Problem import Problem
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 22, in ?
>      class Problem(Component):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 31, in Problem
>      class Inventory(Component.Inventory):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/problems/Problem.py", line 51, in Inventory
>      from pylith.materials.Homogeneous import Homogeneous
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 22, in ?
>      class Homogeneous(ObjectBin):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 31, in Homogeneous
>      class Inventory(ObjectBin.Inventory):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Homogeneous.py", line 47, in Inventory
>      from ElasticIsotropic3D import ElasticIsotropic3D
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/ElasticIsotropic3D.py", line 19, in ?
>      from ElasticMaterial import ElasticMaterial
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/ElasticMaterial.py", line 20, in ?
>      from Material import Material
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 30, in ?
>      class Material(Component):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 43, in Material
>      class Inventory(Component.Inventory):
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/pylith/materials/Material.py", line 67, in Inventory
>      from spatialdata.spatialdb.SimpleDB import SimpleDB
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/spatialdata-0.3.0-py2.4.egg/spatialdata/spatialdb/
> SimpleDB.py", line 19, in ?
>      from SpatialDB import SpatialDB
>    File "/home/dicaprio/local/pylith-build/lib/python2.4/site-
> packages/spatialdata-0.3.0-py2.4.egg/spatialdata/spatialdb/
> SpatialDB.py", line 21, in ?
>      import spatialdb as bindings
> ImportError: No module named spatialdb
>
>
> At a glance the spataildata directory in my installation doesn't look
> different from the one in the prebuilt tarball.
>
> Thanks,
> Chris
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


More information about the CIG-SHORT mailing list