[Django]-IOError on production server

5👍

Assuming you get the same complier error as I do when trying to install:

c/_cffi_backend.c:14:17: fatal error: ffi.h: No such file or directory

 #include <ffi.h>

                 ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I found the fix here
by doing apt-get install libffi-dev

👤ptr

0👍

A comment in my question suggested I reinstall pyspotify. I tried to do so and got a gcc error. Line 5 tells us that the problem is with libspotify, a library which pyspotify depends on. I thought I had that installed but apparently not. I installed that, restarted the server and now everything works as intended.

👤Nanor

Leave a comment