Pip 在Google Colab中安装模拟软件包时遇到问题

Pip 在Google Colab中安装模拟软件包时遇到问题,pip,google-colaboratory,Pip,Google Colaboratory,都是!pip安装模拟和!pip3安装模拟在我的Colab实例上失败 两个人都在给我钱 Failed building wheel for scikit-sparse Running setup.py clean for scikit-sparse Failed to build scikit-sparse ... error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 我试过!pip install scikit

都是
!pip安装模拟
!pip3安装模拟
在我的Colab实例上失败

两个人都在给我钱

 Failed building wheel for scikit-sparse
 Running setup.py clean for scikit-sparse
 Failed to build scikit-sparse
 ...
 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
我试过
!pip install scikit sparse==0.4.4
我得到了相同的结果

这会解除你的阻碍吗

!apt-get install libsuitesparse-dev && pip install scikit-sparse==0.4.4
这能帮你解除障碍吗

!apt-get install libsuitesparse-dev && pip install scikit-sparse==0.4.4