MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic Mirror with AI

    Scheduled Pinned Locked Moved Show your Mirror
    64 Posts 14 Posters 68.7k Views 18 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cowboysdudeC Offline
      cowboysdude Module Developer
      last edited by yawns

      Error while trying to run… notice the error at the bottom which says I need version 2.11 when I update it says I already have 2.11 yet this continues to say I don’t…

      HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /microphone?enabled=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
      Found face
      Traceback (most recent call last):
        File "bot.py", line 679, in 
          bot.start()
        File "bot.py", line 53, in start
          recognizer, audio = self.speech.listen_for_audio()
        File "/home/cowboysdude/Smart_Mirror/speech.py", line 33, in listen_for_audio
          m = sr.Microphone()
        File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 79, in __init__
          self.pyaudio_module = self.get_pyaudio()
        File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 113, in get_pyaudio
          raise AttributeError("PyAudio 0.2.11 or later is required (found version {})".format(pyaudio.__version__))
      AttributeError: PyAudio 0.2.11 or later is required (found version 0.2.8)
      
      akshaybahadur21A 1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by

        Has ANYONE got this to work yet?

        1 Reply Last reply Reply Quote 1
        • akshaybahadur21A Offline
          akshaybahadur21 @bhepler
          last edited by

          @bhepler @Chris I used Ubuntu VM. You guys can also do the same

          1 Reply Last reply Reply Quote 0
          • akshaybahadur21A Offline
            akshaybahadur21 @cowboysdude
            last edited by

            @cowboysdude I believe you have another application running on 8080. Try killing that app and restarting magic mirror. I never faced the issue

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by yawns

              I told you I do indeed have an apache server running on 80 so that’s not an option. I changed the bot.py file to 8091 so that shouldn’t be an issue. If it doesn’t work it’s just not going to work. I need my other server so taking it down is not an option. I have no issue running the mirror on 8090 and the server at the same time…it’s been running for months like that…

              HTTPConnectionPool(host='localhost', port=8090): Max retries exceeded with url: /microphone?enabled=False (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa61a0b9850>: Failed to establish a new connection: [Errno 111] Connection refused',))
              Traceback (most recent call last):
                File "bot.py", line 679, in <module>
                  bot.start()
                File "bot.py", line 49, in start
                  requests.get("http://localhost:8090/clear")
                File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/api.py", line 72, in get
                  return request('get', url, params=params, **kwargs)
                File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/api.py", line 58, in request
                  return session.request(method=method, url=url, **kwargs)
                File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/sessions.py", line 508, in request
                  resp = self.send(prep, **send_kwargs)
                File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/sessions.py", line 618, in send
                  r = adapter.send(request, **kwargs)
                File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/adapters.py", line 508, in send
                  raise ConnectionError(e, request=request)
              requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8090): Max retries exceeded with url: /clear (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa61a0b9890>: Failed to establish a new connection: [Errno 111] Connection refused',))
              
              
              1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer
                last edited by cowboysdude

                I’m pretty sure no one else has gotten this to work either… It as what I thought a month ago… a no go… I deleted it.

                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Mykle1

                  Oy! 12345

                  Edit: The forum insisted I have an 8 character post. :-/

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hayman
                    last edited by

                    @cowboysdude said in Magic Mirror with AI:

                    an apache server running on 80 so that’s no

                    is there any better how to install…?and what is the best os to use for …?
                    i olso got fout i’ve probleem with python bot.py…

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @hayman
                      last edited by

                      @hayman I deleted it. It’s just not going to work. Trust me I’ve tried several different things… went online to find out how to fix the errors and found next to nothing so as far as I’m concerned this is a dead issue …

                      C 1 Reply Last reply Reply Quote 1
                      • C Offline
                        cyberphox @cowboysdude
                        last edited by

                        @cowboysdude darn…this looked promising…and cool too!

                        Full time Dad, DJ and entertainer and lover of technology.

                        cowboysdudeC 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 4 / 7
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy