Boostcamp AI tech 3기

creating build/temp.linux-x86_64-3.7/lap error 에러

mcdn 2022. 5. 19. 11:24
반응형

 

https://github.com/gatagat/lap/issues/24

 

Installing problem · Issue #24 · gatagat/lap

Hi I am having trouble installing lap using pip or from source. the pre-requirements are met. The error information is as below Collecting lap Using cached lap-0.4.0.tar.gz (1.5 MB) Building wheels...

github.com

creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/lap
copying lap/init.py -> build/lib.linux-x86_64-3.7/lap
copying lap/lapmod.py -> build/lib.linux-x86_64-3.7/lap
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'lap._lapjv' extension
compiling C++ sources
C compiler: g++ -pthread -B /home/chengzhi/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

creating build/temp.linux-x86_64-3.7/lap
compile options: '-I/home/chengzhi/anaconda3/lib/python3.7/site-packages/numpy/core/include -Ilap -I/home/chengzhi/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/chengzhi/anaconda3/include/python3.7m -c'
g++: lap/_lapjv.cpp
g++: lap/lapjv.cpp
g++: lap/lapmod.cpp
error: Command "g++ -pthread -B /home/chengzhi/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/chengzhi/anaconda3/lib/python3.7/site-packages/numpy/core/include -Ilap -I/home/chengzhi/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/chengzhi/anaconda3/include/python3.7m -c lap/_lapjv.cpp -o build/temp.linux-x86_64-3.7/lap/_lapjv.o -MMD -MF build/temp.linux-x86_64-3.7/lap/_lapjv.o.d" failed with exit status 127

lap 명령어 관련해서 에러가 계속 날 때 

 

 

conda install -c conda-forge lap

conda install -c conda-forge lap

반응형