Whenever I mistype any command in terminal instead of getting Error:Command not found
I get this python message error
Traceback (most recent call last):
File "/usr/lib/python3.3/site.py", line 631, in <module>
main()
File "/usr/lib/python3.3/site.py", line 616, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python3.3/site.py", line 284, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python3.3/site.py", line 260, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python3.3/site.py", line 250, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python3.3/sysconfig.py", line 580, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python3.3/sysconfig.py", line 530, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python3.3/sysconfig.py", line 403, in _init_posix
from _sysconfigdata import build_time_vars
File "/usr/lib/python3.3/_sysconfigdata.py", line 6, in <module>
from _sysconfigdata_m import *
ImportError: No module named '_sysconfigdata_m'
I know that after installing python3.x and trying to make it my default interpreter this error has gone this way.
$ lsb_release -rd
Description: Linux Mint 14 Nadia
Release: 14
/usr/lib/command-not-found
is working well also.
Can I get back to my default python version ? simply I did
sudo ln -sf /usr/bin/python2.7 /usr/local/bin/python
is it enough to get 2.7 as default interpreter ?
Any idea how to get rid off this hell message error ?