Closed mathcoke closed 5 years ago
I'm not really familiar with how anaconda works. You need to verify that your C compiler knows how to find the appropriate headers in the environment. A minimal example would be to compile the program below in your environment with gcc <filename> -lgmp
#include <gmp.h>
int main() {
return 0;
}
Debug errors from there. Most likely the path to your environments specific headers is not known to the C compiler.
You could also try to fork this and give a -I/path/to/your/headers/folder
flag to the compiler as part of the extra_compile_args
in setup.py
. YMMV.
Closing as this is an environment issue.
I followed the instruction in 'installing' section. I'm using now anaconda and working in virtual environment
first, I type followings
$ sudo apt-get install python-dev libgmp3-dev
and this is successful works and follow type that
$ pip install fastecdsa
then I get error
But I have gmp.h header in /home/kimjungmin/anaconda3/envs/sage/include
ironically, In base env, that command
$ pip install fastecdsa
is good works.
I don't know how I can found solution. please help.