-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed installing Glove_python on linux #108
Comments
It seems you don't have GCC installed. GCC is a C(++) compiler which this package needs to compile. Try installing GCC. |
@Jim0530 I've tried pre-compiling the binaries. Could you try running |
@IronFarm I was running into the same problem (had gcc already), and installing with the pre-compiled binaries worked for me. Thanks! |
@salwon that's great, thanks for the feedback! |
I got troubled with the same problem when installing and your pre-compiled version perfectly fits! Thanks a lot for your contribution! |
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --all not recognized
ERROR: Failed cleaning build dir for glove-python
Failed to build glove-python
Installing collected packages: glove-python
Running setup.py install for glove-python ... error
ERROR: Command errored out with exit status 1:
command: /root/anaconda3/envs/sccheng-el/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1nhacle1/glove-python/setup.py'"'"'; file='"'"'/tmp/pip-install-1nhacle1/glove-python/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-cm1k1n02/install-record.txt --single-version-externally-managed --compile --install-headers /root/anaconda3/envs/sccheng-el/include/python3.6m/glove-python
cwd: /tmp/pip-install-1nhacle1/glove-python/
Complete output (8 lines):
running install
running build
running build_py
running build_ext
building 'glove.glove_cython' extension
gcc -pthread -B /root/anaconda3/envs/sccheng-el/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/anaconda3/envs/sccheng-el/include/python3.6m -c glove/glove_cython.c -o build/temp.linux-x86_64-3.6/glove/glove_cython.o -fopenmp -ffast-math
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /root/anaconda3/envs/sccheng-el/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1nhacle1/glove-python/setup.py'"'"'; file='"'"'/tmp/pip-install-1nhacle1/glove-python/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-cm1k1n02/install-record.txt --single-version-externally-managed --compile --install-headers /root/anaconda3/envs/sccheng-el/include/python3.6m/glove-python Check the logs for full command output.
The text was updated successfully, but these errors were encountered: