gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/anaconda3/envs/test/include/python3.6m -c jieba_fast/source/jieba_fast_functions_wrap_py3_wrap.c -o build/temp.linux-x86_64-3.6/jieba_fast/source/jieba_fast_functions_wrap_py3_wrap.o
gcc -pthread -shared -L/data/Anaconda3/envs/test/lib -Wl,-rpath=/data/Anaconda3/envs/test/lib,--no-as-needed build/temp.linux-x86_64-3.6/jieba_fast/source/jieba_fast_functions_wrap_py3_wrap.o -L/data/Anaconda3/envs/test/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/_jieba_fast_functions_py3.cpython-36m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lpython3.6m
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /data/anaconda3/envs/test/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp
pip安装遇到 command ‘gcc‘ failed with exit status 1 问题解决
于 2022-05-17 10:34:02 首次发布