[CIG-SHORT] help

Matthew Knepley knepley at gmail.com
Sat Oct 11 08:05:02 PDT 2008


You indicates to me that either

 1) Your PYTHONPATH is wrong

 2) You have not installed spatialdb in that path

   Matt

On Fri, Oct 10, 2008 at 11:23 PM,  <lf1981 at mail.ustc.edu.cn> wrote:
> Dear sir:
>   AS your instructions ,when I  input python  it display the message :
>   Python 2.4.3 (#1, May 24 2008, 13:47:28)
> [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>  and  when  just input python > import  spatialdb  it displays the following :
> [lf at localhost ~]$ python > import spatialdb
> python: can't open file 'spatialdb': [Errno 2] No such file or directory
>
>
>
>    sincerely FengLi
> ___________________________________________________
>>What you do you get for jsut python:
>>
>>   python
>>   python> import spatialdb
>>
>>    Matt
>>
>> On Thu, Oct 9, 2008 at 11:03 PM,  <lf1981 at mail.ustc.edu.cn> wrote:
>> > Dear sir
>> >              Thanks for your prompt reply. I have installed the pylith from
>> > Source code following the instrcutions  in the manual.the only difference is
> that,
>> >   I downed all the source code to the  dirctory $HOME/soft  and install it
> under
>> > $HOME/cig.To be specific, when compiling Pylith, I have set
>> >  export
>> >
> PATH=$PATH:$HOME/bin:/home/lf/soft/petsc-dev/linux-gnu-cxx-debug/bin:/home/lf/cig/
>
>> > bin:/home/lf/soft/petsc-dev/bin:
>> > export PETSC_ARCH=linux-gnu-cxx-debug
>> >  export PETSC_DIR=/home/lf/soft/petsc-dev
>> > export PYTHONPATH=$PYTHONPATH:/home/lf/cig/lib/python2.4/site-packages
>> > export  CPPFLAGS=-I$HOME/cig/include
>> >  export LDFLAGS=-L$HOME/cig/lib
>> > export
>> > LD_LIBRARY_PATH=$pylith/lib:/home/lf/soft/petsc-dev/linux-gnu-cxx-debug/lib
>> >  but when I was runing "pylith axialdisp.cfg" under the directory
>> > /home/lf/soft/pylith-1.3.0/examples/twocells/twohex8 .it seems that  the
> spatialdb
>> > package cannot be found by my python although I had set it as
>> > PYTHONPATH=$PYTHONPATH:/home/lf/cig/lib/python2.4/site-packages
>> > the error message contained in the attachment ,would  you like to give  me
> some
>> > advices ? thank you very much
>> >
>> >         sincerely FengLi
>> >
>> >
>> >
>>
>>
>>
>> --
>> 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
>>
>
>
>



-- 
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