I’m on AL 8.9
I installed some Python stuff - usual hrs of head scratching with versions x,y,z, instructions that don’t work etc.
Anyway, there’ve been some side effects and I have no idea where/how they arose. So now when I “su” I get errors …
[bth@sws ~]$ su
Password:
Traceback (most recent call last):
File “/home/bth/.local/bin/register-python-argcomplete”, line 68, in
argcomplete.shellcode(
AttributeError: module ‘argcomplete’ has no attribute ‘shellcode’
[root@sws bth]#
…which seem to be connected to su switching environment…
[bth@sws ~]$ su -p # Preserve the entire environment
Password:
[root@sws ~]#
but I can’t find where/what su is reading/accessing to cause it to invoke register-python-argcomplete.
Anyone any ideas on what’s going on / why it’s happpening / what needs to be changed to stop su invoking register-python-argcomplete ?