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
python-dev
python3-dev