epfml / sent2vec

General purpose unsupervised sentence representations
Other
1.19k stars 256 forks source link

Error in install command - gcc: error: error: command 'gcc' failed with exit status 1 #120

Open MuthuV-c303825 opened 2 years ago

MuthuV-c303825 commented 2 years ago

when i tried to install sent2vec in my python virtual environment in linux im facing the issue " gcc: error: unrecognized command line option ‘-fno-semantic-interposition’ error: command 'gcc' failed with exit status 1 "

I had other packages (numpy, pandas, scipy, fasttext and cython) installed.

any pointers on how i could get the error resolved that would be great. below is the attached screenshot for reference.

image

sanjay-elangovan commented 2 years ago

Hi - I'm running into a similar issue now, did you end up figuring it out?

ihsankahveci commented 2 years ago

I am having a similar issue too. I tried to update conda, create symbolic links but nothing worked.

YKKamaizng commented 3 months ago

I have resolved this issue, you need to manually install gcc and g++