我想从终端安装tifffile软件包:

pip install tifffile

我收到以下错误
  gcc -pthread -shared -L/home/l-01-314/anaconda3/lib -Wl,-rpath=/home/l-01-314/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.5/tifffile/_tifffile.o -L/home/l-01-314/anaconda3/lib -lpython3.5m -o build/lib.linux-x86_64-3.5/tifffile/_tifffile.cpython-35m-x86_64-linux-gnu.so
  /usr/bin/ld: cannot find -lpython3.5m
  collect2: error: ld returned 1 exit status
  error: command 'gcc' failed with exit status 1

知道为什么我会收到此错误吗?

最佳答案

解决了,系统gcc链接错误,所以我通过conda为python anaconda安装了gcc。

conda install -c anaconda gcc=4.8.5

10-04 11:25