Evernote-backup won't run: missing distutils and pyutil

I am trying to run evernote-backup, which I installed with pipx. It’s not finding distutils and pytutil modules, which I know are deprecated in Python 3.12. I have python-setuptools installed, which should bring back distutils and pyutil, but I still get the ‘ModuleNotFoundError’. Any ideas of how I could make it work?

my inxi -Fxz:

System:
Kernel: 6.10.3-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
Desktop: Xfce v: 4.18.1 Distro: Manjaro base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20NJ0002US v: ThinkPad T495
serial:
Mobo: LENOVO model: 20NJ0002US serial:
UEFI-[Legacy]: LENOVO v: R12ET34W(1.04 ) date: 04/19/2019
Battery:
ID-1: BAT0 charge: 37.0 Wh (89.6%) condition: 41.3/50.5 Wh (81.9%)
volts: 12.5 min: 11.5 model: SMP 02DL008 status: not charging
Device-1: hid-0003:17EF:60EE.0005-battery model: Lenovo TrackPoint
Keyboard II charge: N/A status: N/A
CPU:
Info: quad core model: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen/Zen+ note: check rev: 1 cache: L1: 384 KiB
L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 2606 high: 3069 min/max: 1400/2100 boost: enabled cores:
1: 2455 2: 2455 3: 3069 4: 3069 5: 2455 6: 2454 7: 2439 8: 2455
bogomips: 33547
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 bus-ID: 06:00.0
temp: 72.0 C
Device-2: Chicony Integrated Camera (1280x720@30) driver: uvcvideo
type: USB bus-ID: 4-2.1:4
Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: amdgpu
unloaded: modesetting dri: radeonsi gpu: amdgpu resolution: 1920x1080~60Hz
API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 06:00.1
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
driver: snd_pci_acp3x v: kernel bus-ID: 06:00.5
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 06:00.6
API: ALSA v: k6.10.3-1-MANJARO status: kernel-api
Server-1: JACK v: 1.9.22 status: off
Server-2: PipeWire v: 1.2.2 status: off
Server-3: PulseAudio v: 17.0 status: active
Network:
Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
v: kernel bus-ID: 01:00.0
IF: wlp1s0 state: up mac:
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8168 v: 8.053.00-NAPI port: 3400 bus-ID: 03:00.0
IF: enp3s0f0 state: down mac:
Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8168 v: 8.053.00-NAPI port: 2000 bus-ID: 04:00.0
IF: enp4s0 state: down mac:
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
type: USB bus-ID: 4-1:2
Report: bt-adapter ID: hci0 rfk-id: 11 state: up address:
Drives:
Local Storage: total: 476.94 GiB used: 235.21 GiB (49.3%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7
size: 476.94 GiB temp: 49.9 C
Partition:
ID-1: / size: 468.38 GiB used: 235.21 GiB (50.2%) fs: ext4
dev: /dev/nvme0n1p1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 72.0 C mobo: N/A gpu: amdgpu temp: 72.0 C
Fan Speeds (rpm): fan-1: 3700 fan-2: 3700
Info:
Memory: total: 20 GiB note: est. available: 21.13 GiB used: 9.48 GiB (44.9%)
Processes: 304 Uptime: 3d 16h 59m Init: systemd
Packages: 1945 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Bash v: 5.2.32
inxi: 3.3.35

How did you install it? If you installed it with pipx, you need to inject these dependencies into the same environment.

2 Likes

This worked. Thank you!

(If anyone is here looking for the same answer: $pipx inject evernote-backup setuptools )

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.