I tried to install \"scholarly\" package, but I keep receiving this error:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -
I had the same problem. This one helped me:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
If you using python3, try to replace python-dev
with python3-dev
Install lib32ncurses5-dev:
sudo apt-get install lib32ncurses5-dev
In my case the exception was:
Exception:
#include <snappy-c.h>
^~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit
status 1
And I solved it by installing these libraries:
sudo apt-get install libsnappy-dev
pip3 install python-snappy
Here is a great explanation about the cause of the exception and how we can get rid of that.