AntonKueltz / fastecdsa

Python library for fast elliptic curve crypto

Home Page:https://pypi.python.org/pypi/fastecdsa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while installing ecdsa

rohit-goswami opened this issue · comments

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.

[SOLVED]

I tried using sudo apt-get install python3.7-dev and then reinstalling solved the problem.