Bug#993622: python3-open3d: Missing dependency on python3-numpy

Shane Loretz sloretz at openrobotics.org
Fri Sep 3 20:21:52 BST 2021


Package: python3-open3d
Version: 0.9.0+ds-5+b2
Severity: normal
X-Debbugs-Cc: sloretz at openrobotics.org

Dear Maintainer,

It appears python3-open3d is missing a dependency on python3-numpy.
The module can't be imported until it's manually installed.

On a fresh bullseye container I installed python3-open3d 

	bullseye:root> apt install libopen3d-dev/stable libopen3d0d/stable python3-open3d/stable
	Reading package lists... Done
	Building dependency tree... Done
	Reading state information... Done
	Selected version '0.9.0+ds-5+b2' (Debian:11.0/stable [amd64]) for 'libopen3d-dev'
	Selected version '0.9.0+ds-5+b2' (Debian:11.0/stable [amd64]) for 'libopen3d0d'
	Selected version '0.9.0+ds-5+b2' (Debian:11.0/stable [amd64]) for 'python3-open3d'
	...

But I encountered an ImportError:

	>>> import open3d
	Traceback (most recent call last):
	  File "<stdin>", line 1, in <module>
	  File "/usr/lib/python3/dist-packages/open3d/__init__.py", line 3, in <module>
	    from .open3d import *
	ImportError: ModuleNotFoundError: No module named 'numpy'

So I installed python3-numpy, and afterwards I was able to import
open3d.

	>>> import open3d
	>>>

Would you be willing to add this dependency to the Debian package?


Cheers,
Shane

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.11.0-27-generic (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages python3-open3d depends on:
ii  libc6        2.31-13
ii  libgcc-s1    10.2.1-6
ii  libopen3d0d  0.9.0+ds-5+b2
ii  libstdc++6   10.2.1-6
ii  python3      3.9.2-3

python3-open3d recommends no packages.

Versions of packages python3-open3d suggests:
pn  open3d-doc  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list