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.

    I dont even know

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 3 Posters 667 Views 2 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.
    • M Offline
      Mahieedaboss
      last edited by sdetweil

      So, Ai Mirror problem
      I ran
      sudo ./setup.sh. it worked for a bit and then

      Bam!!

       ERROR: Command errored out with exit status 1:
           command: /home/pi/AI-Smart-Mirror/hhsmartmirror/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MExvPe/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MExvPe/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' build_ext -I/usr/local/include -L/usr/local/lib install --record /tmp/pip-record-4BVCfU/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/AI-Smart-Mirror/hhsmartmirror/include/site/python2.7/pyaudio
               cwd: /tmp/pip-install-MExvPe/pyaudio/
          Complete output (11 lines):
          running build_ext
          building '_portaudio' extension
          creating build
          creating build/temp.linux-armv7l-2.7
          creating build/temp.linux-armv7l-2.7/src
          arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/local/include -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-armv7l-2.7/src/_portaudiomodule.o
          src/_portaudiomodule.c:29:10: fatal error: portaudio.h: No such file or directory
           #include "portaudio.h"
                    ^~~~~~~~~~~~~
          compilation terminated.
          error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          ----------------------------------------
      ERROR: Command errored out with exit status 1: /home/pi/AI-Smart-Mirror/hhsmartmirror/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MExvPe/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MExvPe/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' build_ext -I/usr/local/include -L/usr/local/lib install --record /tmp/pip-record-4BVCfU/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/AI-Smart-Mirror/hhsmartmirror/include/site/python2.7/pyaudio Check the logs for full command output.
      

      What do i do??!!

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Mahieedaboss
        last edited by

        @Mahieedaboss said in I dont even know:

        portaudio.h: No such file or directory

        google is your friend

        https://stackoverflow.com/questions/33513522/when-installing-pyaudio-pip-cannot-find-portaudio-h-in-usr-local-include

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          manuspen @sdetweil
          last edited by

          @sdetweil said in I dont even know:

          @Mahieedaboss said in I dont even know:

          portaudio.h: No such file or directory

          google is your friend

          https://stackoverflow.com/questions/33513522/when-installing-pyaudio-pip-cannot-find-portaudio-h-in-usr-local-include

          Great, thank you very much!
          It worked…

          greeting

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • 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