0

I connect through ssh to an Ubuntu-2204-jammy-amd64-base server and when trying to install, unistall, or do anything related to python I get an error message, i messed around with some python files abit ago which is most likely the issue but nothing i try works to fix it

I did

apt-get install pip3

and get this as an output

Setting up python3-minimal (3.10.6-1~22.04.1) ...
/var/lib/dpkg/info/python3-minimal.postinst: 5: py3compile: not found
dpkg: error processing package python3-minimal (--configure):
 installed python3-minimal package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 python3-minimal
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thomas Ward
  • 78,878

0 Answers0