Closed hhp-the-maestro closed 2 years ago
Do you have logs the for the failure? The CI jobs for this test 3.6-3.10 and I’ve built locally against those versions many times.
Do you have logs the for the failure? The CI jobs for this test 3.6-3.10 and I’ve built locally against those versions many times.
ERROR: Command errored out with exit status 1: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0slh45uj/fastecdsa/setup.py'"'"'; file='"'"'/tmp/pip-install-0slh45uj/fastecdsa/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-xzkx3ufj/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/fastecdsa Check the logs for full command output. `
You need to install the python3.9 dev tools i.e. the headers so that you can compile the C extensions. This is beyond the scope of this project but there's plenty of resources online for how to install them on your given OS.
You need to install the python3.9 dev tools i.e. the headers so that you can compile the C extensions. This is beyond the scope of this project but there's plenty of resources online for how to install them on your given OS.
Buddy, I have tried out every solution on the internet it does not work. you can mail me @ hhp07022000@gmail.com
I highly doubt that. Just install python3.9-dev
(or python3.9-devel
on some distros) with your package manager. This is not a problem with this library, this is a an issue with your dev environment not being set up to compile C extensions for any python project when using python3.9.
It's literally the first result when you google the error message "fatal error: Python.h: No such file or directory".
python3.9-dev
is not available for Ubuntu 23.04, AFAICT.
I was struggling to install fastecdsa for a while , later i found the problem is that, it seems to install fine with python3.8 and does not install with python3.9.