AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1311854
Accepted
Mona Jalal
Mona Jalal
Asked: 2021-01-29 16:08:28 +0800 CST2021-01-29 16:08:28 +0800 CST 2021-01-29 16:08:28 +0800 CST

在 Ubuntu 20.04 上安装 open3d [重复]

  • 772
这个问题在这里已经有了答案:
如何让 `dpkg -i` 为我安装依赖项? (11 个回答)
如何恢复默认存储库? (4 个回答)
去年关闭。

我想在 Ubuntu 20.04 上安装 Open3D,但出现以下错误。我该如何解决?

mona@goku:~$ wget https://github.com/intel-isl/Open3D/releases/download/v0.12.0/open3d-app-0.12.0-Ubuntu_20.04.deb
--2021-01-28 19:03:24--  https://github.com/intel-isl/Open3D/releases/download/v0.12.0/open3d-app-0.12.0-Ubuntu_20.04.deb
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/75413130/8cd1a380-4e88-11eb-9639-e33b0a383434?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210129%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210129T000324Z&X-Amz-Expires=300&X-Amz-Signature=5f04a7b6d5eee8340ea6f3ebaf8fb2ac5a949d2e1bbfba71bcac6a3eea365a11&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75413130&response-content-disposition=attachment%3B%20filename%3Dopen3d-app-0.12.0-Ubuntu_20.04.deb&response-content-type=application%2Foctet-stream [following]
--2021-01-28 19:03:24--  https://github-releases.githubusercontent.com/75413130/8cd1a380-4e88-11eb-9639-e33b0a383434?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210129%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210129T000324Z&X-Amz-Expires=300&X-Amz-Signature=5f04a7b6d5eee8340ea6f3ebaf8fb2ac5a949d2e1bbfba71bcac6a3eea365a11&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=75413130&response-content-disposition=attachment%3B%20filename%3Dopen3d-app-0.12.0-Ubuntu_20.04.deb&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.110.154, 185.199.111.154, 185.199.108.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.110.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 110120788 (105M) [application/octet-stream]
Saving to: ‘open3d-app-0.12.0-Ubuntu_20.04.deb’

open3d-app-0.12.0-Ubuntu_20.04.d 100%[=========================================================>] 105.02M  5.11MB/s    in 22s     

2021-01-28 19:03:47 (4.74 MB/s) - ‘open3d-app-0.12.0-Ubuntu_20.04.deb’ saved [110120788/110120788]

mona@goku:~$ sudo dpkg -i open3d-app-0.12.0-Ubuntu_20.04.deb
[sudo] password for mona: 
Selecting previously unselected package open3d-viewer.
(Reading database ... 408548 files and directories currently installed.)
Preparing to unpack open3d-app-0.12.0-Ubuntu_20.04.deb ...
Unpacking open3d-viewer (0.12.0) ...
dpkg: dependency problems prevent configuration of open3d-viewer:
 open3d-viewer depends on libc++1; however:
  Package libc++1 is not installed.
 open3d-viewer depends on libglfw3; however:
  Package libglfw3 is not installed.

dpkg: error processing package open3d-viewer (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.15-1) ...
Errors were encountered while processing:
 open3d-viewer
mona@goku:~$ sudo apt install libc++1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc++1 : Depends: libc++1-10 (>= 10~) but it is not going to be installed
 libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed
 open3d-viewer : Depends: libglfw3 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mona@goku:~$ sudo apt --fix-broken install libc++1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc++1 : Depends: libc++1-10 (>= 10~) but it is not going to be installed
 libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed
 open3d-viewer : Depends: libglfw3 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt
  • 1 1 个回答
  • 1543 Views

1 个回答

  • Voted
  1. Best Answer
    N0rbert
    2021-01-30T00:29:33+08:002021-01-30T00:29:33+08:00

    在没有第三方存储库的全新 Ubuntu 20.04 LTS 系统上,您必须使用 apt 安装此软件包才能解决依赖关系:

    wget -c https://github.com/intel-isl/Open3D/releases/download/v0.12.0/open3d-app-0.12.0-Ubuntu_20.04.deb
    sudo apt-get install ./open3d-app-0.12.0-Ubuntu_20.04.deb
    

    上述软件包集将不需要libpng12.

    在您当前的情况下,您必须提供有关使用的依赖项的其他信息。

    • 2

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve