我怎么解决这个问题
sudo apt-get install python-setuptools python-scipy libatlas-dev libatlas3-base
安装 scipy 来安装 scikit learn 并得到这样的错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libatlas-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libatlas-base-dev:i386 libatlas-base-dev
E: Package 'libatlas-dev' has no installation candidate
我已尝试更新,但似乎没有任何效果。
最佳答案
我尝试在我的树莓派 pi
上安装 libatals-dev
,我的 pi
告诉我这个:
Reading package lists... Done Building dependency tree Reading state information... Done
Package
libatlas-dev
is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:libatlas-base-dev
E: Package
libatlas-dev
has no installation candidate
所以请尝试使用 sudo apt-get install libatlas-base-dev
代替。
关于python - 如何修复 "E: Package ' libatlas-dev'没有安装候选者“在为 Scikit 学习安装 Scipy 时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52837387/