forked from dmcc/bllip-parser
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
When installing bllip-parser from Ubuntu via pip (pip install bllipparser), I got Building wheel for bllipparser (setup.py) ... error.
Per this article, installing these in advance got it working:
conda install gcc_linux-64
conda install gxx_linux-64
May be worth adding to an installation piece of a README.
Full error:
(base) mghenis@penguin:~/NegBio$ pip install bllipparser
Collecting bllipparser
Using cached bllipparser-2016.9.11.tar.gz (555 kB)
Requirement already satisfied: six in /home/mghenis/anaconda3/lib/python3.7/site-packages (from bllipparser) (1.14.0)
Building wheels for collected packages: bllipparser
Building wheel for bllipparser (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/mghenis/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-instal
l-p8m15xws/bllipparser/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p8m15xws/bllipparser/setup.py'"'"';f=getattr(tokenize
, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_
_, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-13eymyau
cwd: /tmp/pip-install-p8m15xws/bllipparser/
Complete output (24 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/__main__.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/RerankerFeatureCorpus.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/Utility.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/JohnsonReranker.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/__init__.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/ParsingShell.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/RerankingParser.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/ModelFetcher.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/CharniakParser.py -> build/lib.linux-x86_64-3.7/bllipparser
running build_ext
building 'bllipparser._CharniakParser' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/first-stage
creating build/temp.linux-x86_64-3.7/first-stage/PARSE
creating build/temp.linux-x86_64-3.7/first-stage/PARSE/swig
/home/mghenis/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall
-Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march
=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ft
ree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/mghenis/anaconda3/inclu
de -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/mghenis/anaconda3/include -fPIC -Ifirst-stage/PARSE/ -I/home/mghenis/an
aconda3/include/python3.7m -c first-stage/PARSE/swig/wrapper.C -o build/temp.linux-x86_64-3.7/first-stage/PARSE/swig/wrapp
er.o
x86_64-conda_cos6-linux-gnu-cc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command '/home/mghenis/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for bllipparser
Running setup.py clean for bllipparser
Failed to build bllipparser
Installing collected packages: bllipparser
Running setup.py install for bllipparser ... error
ERROR: Command errored out with exit status 1:
command: /home/mghenis/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-inst
all-p8m15xws/bllipparser/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p8m15xws/bllipparser/setup.py'"'"';f=getattr(tokeni
ze, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __fil
e__, '"'"'exec'"'"'))' install --record /tmp/pip-record-oznoxqhp/install-record.txt --single-version-externally-managed --
compile --install-headers /home/mghenis/anaconda3/include/python3.7m/bllipparser
cwd: /tmp/pip-install-p8m15xws/bllipparser/
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/__main__.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/RerankerFeatureCorpus.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/Utility.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/JohnsonReranker.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/__init__.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/ParsingShell.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/RerankingParser.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/ModelFetcher.py -> build/lib.linux-x86_64-3.7/bllipparser
copying python/bllipparser/CharniakParser.py -> build/lib.linux-x86_64-3.7/bllipparser
running build_ext
building 'bllipparser._CharniakParser' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/first-stage
creating build/temp.linux-x86_64-3.7/first-stage/PARSE
creating build/temp.linux-x86_64-3.7/first-stage/PARSE/swig
/home/mghenis/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wal
l -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -mar
ch=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -
ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/mghenis/anaconda3/inc
lude -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/mghenis/anaconda3/include -fPIC -Ifirst-stage/PARSE/ -I/home/mghenis/
anaconda3/include/python3.7m -c first-stage/PARSE/swig/wrapper.C -o build/temp.linux-x86_64-3.7/first-stage/PARSE/swig/wra
pper.o
x86_64-conda_cos6-linux-gnu-cc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command '/home/mghenis/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/mghenis/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-p8m15xws/bllipparser/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p8m15xws/bllippars
er/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-oznoxqhp/install-record.txt --sin
gle-version-externally-managed --compile --install-headers /home/mghenis/anaconda3/include/python3.7m/bllipparser Check th
e logs for full command output.
Metadata
Metadata
Assignees
Labels
No labels