一、问题描述
在pytorch3d的安装过程中,反复尝试不同版本cuda下的pytorch3d的安装,均显示环境冲突无法安装,而且报出相同的错误,如下:
在对比github issue中他人的环境信息后发现gcc版本不对应,修改后即安装成功。UnsatisfiableError: The following specifications were found to be incompatible with each other:Output in format: Requested package -> Available versionsThe following specifications were found to be incompat ible with your system:
- feature:/linux-64::__glibc==2.17=0
- python=3.7 -> libgcc-ng[version=’>=7.5.0’] -> __glibc[version=’>=2.17’]
Your installed version is: 2.17
二、解决方法
gcc版本问题
升级gcc,版本改为gcc (GCC) 7.5.0即可