Open niauah opened 5 years ago
ERROR: running bdist_wheel running build running build_ext building 'kenlm' extension creating build creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/util creating build/temp.linux-x86_64-3.7/lm creating build/temp.linux-x86_64-3.7/util/double-conversion creating build/temp.linux-x86_64-3.7/python x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/include/python3.7m -I/home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/include/python3.7m -c util/pool.cc -o build/temp.linux-x86_64-3.7/util/pool.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 x86_64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: 沒有此一檔案或目錄 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for pypi-kenlm Running setup.py clean for pypi-kenlm Successfully built tai5-uan5-gian5-gi2-kang1-ku7 htsengine Failed to build pypi-kenlm Installing collected packages: htsengine, pypi-kenlm, pypi-bleualign, pydub, tai5-uan5-gian5-gi2-kang1-ku7 Running setup.py install for pypi-kenlm ... error ERROR: Complete output from command /home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-v6ew2tyy/pypi-kenlm/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-m0aolqwu/install-record.txt --single-version-externally-managed --compile --install-headers /home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/include/site/python3.7/pypi-kenlm: ERROR: running install running build running build_ext building 'kenlm' extension creating build creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/util creating build/temp.linux-x86_64-3.7/lm creating build/temp.linux-x86_64-3.7/util/double-conversion creating build/temp.linux-x86_64-3.7/python x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/include/python3.7m -I/home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/include/python3.7m -c util/pool.cc -o build/temp.linux-x86_64-3.7/util/pool.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 x86_64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: 沒有此一檔案或目錄 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command "/home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-v6ew2tyy/pypi-kenlm/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-m0aolqwu/install-record.txt --single-version-externally-managed --compile --install-headers /home/khing-iong/git/TaiOanUe-LiLiKhokKhok-SuPio/venv/include/site/python3.7/pypi-kenlm" failed with error code 1 in /tmp/pip-install-v6ew2tyy/pypi-kenlm/
https://github.com/i3thuan5/tai5-uan5_gian5-gi2_kang1-ku7/blob/master/Dockerfile#L7
https://askubuntu.com/a/637029/478238