fastDamerauLevenshtein icon indicating copy to clipboard operation
fastDamerauLevenshtein copied to clipboard

Fails to build on Python 3.8 virtual environment

Open Deepak-mk opened this issue 9 months ago • 0 comments

Running setup.py install for fastDamerauLevenshtein did not run successfully. │ exit code: 1 ╰─> [12 lines of output] /home/ec2-user/emr_cluster/lib64/python3.8/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install running build running build_ext building 'fastDamerauLevenshtein' extension creating build creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/fastDamerauLevenshtein gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/home/ec2-user/emr_cluster/include -I/usr/include/python3.8 -c fastDamerauLevenshtein/fastDamerauLevenshtein.c -o build/temp.linux-x86_64-3.8/fastDamerauLevenshtein/fastDamerauLevenshtein.o unable to execute 'gcc': No such file or directory error: command '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. ╰─> fastDamerauLevenshtein

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

Deepak-mk avatar Sep 27 '23 09:09 Deepak-mk