GithubHelp home page GithubHelp logo

Import Error about t-home HOT 2 CLOSED

bartje avatar bartje commented on August 19, 2024
Import Error

from t-home.

Comments (2)

TD22057 avatar TD22057 commented on August 19, 2024

You'll have to install python/tHome somewhere in your PYTHONPATH like /usr/local/lib/python2.7/site-packages. Or edit PYTHONPATH to point to it (assuming bash):

cd tHome
export PYTHONPATH=`pwd`/python
python2 bin/tHome-sma.py

You may have to edit the first line of the scripts depending on your system. I wrote it awhile ago when python2 was standard (most systems are python3 now). I also never bothered to make a setuptools script (though that shouldn't be that hard). Also just an FYI but I sold the house w/ the panels and SMA inverter so I can help you get it running but I can't do much more than that at this point.

from t-home.

bartje avatar bartje commented on August 19, 2024

thanks, I just figured that out to. I started to adapt it for Python3, but I think that for now I will continue on your Python2 version.

from t-home.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.