Error while installing ecdsa
rohit-goswami opened this issue · comments
Rohit Goswami commented
src/curveMath.h:4:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> fastecdsa
note: This is an issue with the package mentioned above, not pip.
Rohit Goswami commented
[SOLVED]
I tried using sudo apt-get install python3.7-dev and then reinstalling solved the problem.