linux – ‘python-software-properties’在安装torch时没有安装候选者
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了linux – ‘python-software-properties’在安装torch时没有安装候选者,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1776字,纯文字阅读大概需要3分钟。
内容图文
![linux – ‘python-software-properties’在安装torch时没有安装候选者](/upload/InfoBanner/zyjiaocheng/958/7c700c263c68428dbdf8915b98869ee0.jpg)
我正在使用Ubuntu并想安装Torch.我跟着this guide.
第一行运行良好:
git clone https://github.com/torch/distro.git ~/torch --recursive
但是失败了
cd ~/torch; bash install-deps;
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Get:4 htt p://security.ubuntu. com/ubuntu xenial-security InRelease [94.5 kB]
Hit:5 htt p://archive.ubuntu. com/ubuntu xenial InRelease
Get:6 htt p://archive.ubuntu. com/ubuntu xenial-updates InRelease [94.5 kB]
Fetched 189 kB in 0s (355 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-software-properties 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:
software-properties-common
E: Package 'python-software-properties' has no installation candidate
(Had to add spaces to the links because I don't have enough rep)
**dpkg -L python-software-properties | xargs ls -d > /dev/null** yields
dpkg-query: package 'python-software-properties' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
此命令提供相同的错误消息:
sudo apt-get install --reinstall python-software-properties
我运行sudo apt-get install software-properties-common并安装得很好,但我仍然得到同样的错误.
我正在通过USB,64位运行最新版本的Ubuntu
解决方法:
问题在脚本install-deps中
请用以下命令替换139行.
sudo apt-get install -y software-properties-common
内容总结
以上是互联网集市为您收集整理的linux – ‘python-software-properties’在安装torch时没有安装候选者全部内容,希望文章能够帮你解决linux – ‘python-software-properties’在安装torch时没有安装候选者所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。