{"action":"closed","issue":{"url":"https://api.github.com/repos/bastibe/PySoundCard/issues/57","repository_url":"https://api.github.com/repos/bastibe/PySoundCard","labels_url":"https://api.github.com/repos/bastibe/PySoundCard/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/bastibe/PySoundCard/issues/57/comments","events_url":"https://api.github.com/repos/bastibe/PySoundCard/issues/57/events","html_url":"https://github.com/bastibe/PySoundCard/issues/57","id":134478448,"number":57,"title":"Issues installing on raspbian","user":{"login":"colin-svds","id":16109445,"avatar_url":"https://avatars.githubusercontent.com/u/16109445?v=3","gravatar_id":"","url":"https://api.github.com/users/colin-svds","html_url":"https://github.com/colin-svds","followers_url":"https://api.github.com/users/colin-svds/followers","following_url":"https://api.github.com/users/colin-svds/following{/other_user}","gists_url":"https://api.github.com/users/colin-svds/gists{/gist_id}","starred_url":"https://api.github.com/users/colin-svds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colin-svds/subscriptions","organizations_url":"https://api.github.com/users/colin-svds/orgs","repos_url":"https://api.github.com/users/colin-svds/repos","events_url":"https://api.github.com/users/colin-svds/events{/privacy}","received_events_url":"https://api.github.com/users/colin-svds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T04:26:23Z","updated_at":"2016-02-19T15:15:04Z","closed_at":"2016-02-19T15:15:04Z","body":"Hi, I had a few issues trying to install pysoundcard on raspbian (raspberry pi-specific debian), and I wanted to share my fix in case anyone else has this issue.\r\n\r\nFirstly, if installing PortAudio using apt, you have to use the correct package name. Simply `sudo apt-get install portaudio` doesn't work. You have to use `sudo apt-get install portaudio19-dev`\r\n\r\nThen, if you try to install CFFI with `sudo pip install cffi`, you get an error:\r\n>(a bunch of stuff)...\r\n>c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory\r\n>     #include <ffi.h>\r\n>                    ^\r\n>    compilation terminated.\r\n>    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1\r\n\r\nYou have to first install `libffi-dev`, so run:\r\n`sudo apt-get install libffi-dev`\r\nand then (assuming you have numpy, which I did), you can install pysoundcard with\r\n`sudo pip install pysoundcard`"}}