When ever i mistype or do a error into the console the following message come up:
Traceback (most recent call last):
File \"/usr/lib/python3.3/site.py\", l
Actually, it's possible you have another python3 in your PATH before /usr/bin
(most probably in /usr/local/bin
) in your system, one which lacks the ubuntu-provided libraries (used by /usr/bin/python3
). That happens with hashbangs using #!env python3
and the PATH environment variable.
If this is the case, then temporarily make unavailable (eg renaming them) all such non-/usr/bin/python3*
executables, do your system administration stuff and then make them again available.
Assuming you are using ubuntu, here is the relevant bug report https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1192890
You need to patch your /etc/bash.bashrc. See comment #6 for details