[Miroslav Tzonkov, 2015-04-08] > additional info: > > --- line 30-31 of py3clean > from os.path import dirname, basename, exists, join, splitext > sys.path.insert(1, '/usr/share/python3/') > --- end of line 30-31 > > --- line 32-33 of py3compile > from subprocess import PIPE, Popen > sys.path.insert(1, '/usr/share/python3/') > --- end line 32-33 of py3compile > > I do not understand python, but these seems strange to me ;)
the code is correct. It looks like somehow it's invoked using /bin/sh instead of /usr/bin/python3 and I don't really know why. Can you provide some more info about interpreters (/bin/sh and /usr/bin/python3*) - see my previous email. What happens if you invoke py3clean in terminal? Can you show output of "echo $PATH" in prerm script (add it f.e. in second line)? -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

