Menu

help me, error when run g2p.py

Help
2012-02-02
2012-09-22
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    hi every body.
    pls, help me .
    when i run command python2.7 g2p.py --train train.lex --devel 5% --write-
    model model-1

    i meet error:
    **

    python2.7 g2p.py --train train.lex --devel 5% --write-model model-1

    Traceback (most recent call last):
    File "g2p.py", line 38, in <module>
    import SequiturTool
    ImportError: No module named SequiturTool
    **
    can anybody help me to solve the error. thank very much.</module>

     
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    pls help me

     
  • eliasmajic

    eliasmajic - 2012-02-02

    Seems obvious,
    ImportError: No module named SequiturTool
    Read up on python modules and paths.

     
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    Read up on python modules and paths.
    pls, you can show me more clearly, because i'm not python programmer and i
    beginner on it.

     
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    i installed sequitur g2p to /usr/local/install/g2p/
    and i run g2p.py in : ./g2p/bin/
    and i fond file SequiturTool.py in ./g2p/lib64/python2.7/site-packages/
    so how to when i run g2p.py than it find SequiturTool.py
    pls, help me

     
  • nguyen duy nam

    nguyen duy nam - 2012-02-02

    ok, i fixed the error:
    export PYTHONPATH=../g2p/lib64/....
    thanks

     

Log in to post a comment.