Git Product home page Git Product logo

Comments (10)

GregHolmes avatar GregHolmes commented on April 28, 2024

Unfortunately I get the same issue as above. Although main.py never ran correctly for me. I had installed the latest Raspbian (Not the recommended images) and followed the HACKING.md file.

from aiyprojects-raspbian.

shivasiddharth avatar shivasiddharth commented on April 28, 2024

Did you try this ? python -m pip install --upgrade https://github.com/googlesamples/assistant-sdk-python/releases/download/0.3.0/google_assistant_library-0.0.2-py2.py3-none-linux_armv7l.whl

from aiyprojects-raspbian.

Rockman18 avatar Rockman18 commented on April 28, 2024

Of course yes but in the new google-assistant-library, they have removed the auth_helpers library used by aiyproject to generate the credentials. So it's necessary to recode the auth mechanism in aiyproject

from aiyprojects-raspbian.

shivasiddharth avatar shivasiddharth commented on April 28, 2024

i thought i was alone on this !

from aiyprojects-raspbian.

GregHolmes avatar GregHolmes commented on April 28, 2024

So the idea is to install an older version that contains the auth_helpers library?

from aiyprojects-raspbian.

shivasiddharth avatar shivasiddharth commented on April 28, 2024

I replaced the main.py in AIY projects with this renamed as main.py and it started working, but you cannot control the GPIOs or volume like the older python script.

from aiyprojects-raspbian.

proppy avatar proppy commented on April 28, 2024

Related #64 #67

from aiyprojects-raspbian.

eduncan911 avatar eduncan911 commented on April 28, 2024

I had to:

$  cp -r ~/assistant-sdk-python/googlesamples ~/voice-recognizer-raspi/src/

Note: i git pull in assistant-sdk-python, after switching to master.

Note: i am in the middle up updating my Voice Kit ATM. It runs now, after I did a git pull on the voice kit repo, and I had source env/bin/activate and then env/bin/pip install phue.

Now src/main.py runs!

from aiyprojects-raspbian.

shivasiddharth avatar shivasiddharth commented on April 28, 2024

@eduncan911 , The requirements.txt still has the old sdk listed. So even if you reinstall voice recognizer, it will install the old SDK. Please correct me if i am wrong.

from aiyprojects-raspbian.

proppy avatar proppy commented on April 28, 2024

This should be fixed now that #67 is closed.

from aiyprojects-raspbian.

Related Issues (20)

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.