我如何解决我给出的这个问题
sudo apt-get install python-setuptools python-scipy libatlas-dev libatlas3-base为了安装scipy来安装scikit学习,得到了如下的错误
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我已经尝试过更新,但似乎什么都不起作用。
发布于 2019-10-22 10:44:46
我试着在我的树莓pi上安装libatals-dev,我的pi告诉我这个
正在读取包列表...已完成生成依赖关系树读取状态信息...完成
包libatlas-dev不可用,但被另一个包引用。这可能意味着软件包丢失,已经过时,或者只能从其他来源获得,但以下软件包将替换它:libatlas-base-dev
E: Package libatlas-dev没有候选安装包
因此,请尝试使用sudo apt-get install libatlas-base-dev。
发布于 2020-10-11 18:45:47
您可能被谷歌误导,让您按照https://scikit-learn.org/0.16/install.html等页面上的说明进行操作。根据https://scikit-learn.org/stable/install.html的说法,如果目标是安装scikit-learn,那么只安装pip3 install -U scikit-learn可能会更好。这就是我在Ubuntu 20.04.1 LTS上所做的。
https://stackoverflow.com/questions/52837387
复制相似问题