[Debichem-devel] Bug#1118594: python3-rdkit: Dependency python3-pil is missing
Johannes Ranke
jranke at uni-bremen.de
Wed Oct 22 17:40:59 BST 2025
Package: python3-rdkit
Version: 202503.1-4
Severity: normal
Dear Maintainer,
On an Ubuntu system where python3-pil is not installed, I noticed that depicting
molecules in RStudio no longer works when using python3-rdkit. The error
message pointed at a missing PIL module.
On this Debian trixie system, I confirmed that molecules are correctly
depicted in a Jupyter notebook if python3-pil is installed, but if
it is not, I get an output like
<rdkit.Chem.rdchem.Mol object at 0x7faaaaaa000>
instead of a molecule depiction.
Therefore, I think python3-rdkit should have a dependency on python3-pil
in order to provide its molecule depiction functionality.
Cheers,
Johannes
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (15, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.48+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-rdkit depends on:
ii fonts-freefont-ttf 20211204+svn4273-2
ii libboost-numpy1.83.0 [libboost-numpy1.83.0-py313] 1.83.0-4.2
ii libboost-python1.83.0 [libboost-python1.83.0-py313] 1.83.0-4.2
ii libboost-serialization1.83.0 1.83.0-4.2
ii libc6 2.41-12
ii libcairo2 1.18.4-1+b1
ii libcoordgen3 3.0.2-1+b2
ii libgcc-s1 14.2.0-19
ii librdkit1t64 202503.1-4
ii libstdc++6 14.2.0-19
ii python3 3.13.5-1
ii python3-numpy [python3-numpy2-abi0] 1:2.2.4+ds-1
ii rdkit-data 202503.1-4
python3-rdkit recommends no packages.
Versions of packages python3-rdkit suggests:
pn rdkit-doc <none>
-- no debconf information
More information about the Debichem-devel
mailing list