Closed rohit-goswami closed 2 years ago
src/curveMath.h:4:10: fatal error: Python.h: No such file or directory
^~~~~~~~~~ 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.
[SOLVED]
I tried using sudo apt-get install python3.7-dev and then reinstalling solved the problem.
src/curveMath.h:4:10: fatal error: Python.h: No such file or directory
include
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.