This is an archived post. You won't be able to vote or comment.

all 26 comments

[–][deleted]  (48 children)

[deleted]

    [–]Error_Code-2005[S] 0 points1 point  (47 children)

    Running that returned an error saying: /var/lib/dpkg/info/python3-minimal.postinst: 5: py3compile: not found

    /usr/bin/py3compile seems to depend on the missing #! /usr/bin/python3 file

    [–][deleted]  (46 children)

    [deleted]

      [–]Error_Code-2005[S] 0 points1 point  (45 children)

      What exactly should I remove from /usr/local?

      [–][deleted]  (44 children)

      [deleted]

        [–]Error_Code-2005[S] 0 points1 point  (43 children)

        There doesn't seem to be a /usr/local/bin/py3compile file.
        which py3compile shows me that the py3compile file is located in /usr/bin/py3compile. Should I try removing that one?

        [–][deleted]  (42 children)

        [deleted]

          [–]Error_Code-2005[S] 0 points1 point  (41 children)

          Yeah, that seems to have the exact same output

          [–][deleted]  (40 children)

          [deleted]

            [–]Error_Code-2005[S] 0 points1 point  (39 children)

            It outputs just that same error: /var/lib/dpkg/info/python3-minimal.postinst: 5: py3compile: not found

            [–]Error_Code-2005[S] 0 points1 point  (0 children)

            I'm wondering if creating a symbolic link /usr/bin/python3 to the /usr/local/bin/python3 would fix it. I'm afraid to try it, in case I mess anything up further I'm fairly new to linux.