Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34787

    alanwbaker
    Participant

    Hello.  I installed OSPi in February of 2014 and I love it.  And today I decided to upgrade to the latest 2.x version per

    http://rayshobby.net/mediawiki/index.php?title=Python_Interval_Program_for_OSPi#From_an_earlier_version

    The installation appeared to go OK, but when I run sudo python ospi.py, I get:
    Traceback (most recent call last):
    File “ospi.py”, line 4, in <module>
    import i18n
    ImportError: No module named i18n

    I also tried the “From an older version not installed using git” installation with the same result.  Can someone advise me of what I’m missing?

    advTHANKSance,

    Alan

    #34788

    ajm1
    Participant

    The bottom of the link you provided describes how to install missing modules.

    #34791

    alanwbaker
    Participant

    Thank you, ajm1–that did the trick.  Now I get

    Traceback (most recent call last):
    File “ospi.py”, line 168, in <module>
    ‘_’: _
    NameError: name ‘_’ is not defined

    Ideas?

     

    #34793

    Dan in CA
    Participant

    The module you need is now in the repository. You should do:

    git pull

    from the OSPi directory. That should fix the problem.

    Another user just reported that everything is working.

    Dan

    #34805

    alanwbaker
    Participant

    Thank you, Dan.  Version 2.1.10 works fine now.

    Alan

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.