标签: python python-3.x jupyter-notebook google-colaboratory
尝试安装需要cmake的库时:
cmake
!pip install dlib
笔记本返回以下错误:
error: [Errno 2] No such file or directory: 'cmake': 'cmake'
答案 0 :(得分:13)
您可以在google-colaboratory上使用apt命令,这样您就可以轻松安装cmake:
apt
!apt update !apt install -y cmake !pip install dlib