MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

I dont even know



  • 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??!!





  • @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


Log in to reply