On 23 September 2013 20:28, Albert-Jan Roskam <fo...@yahoo.com> wrote: > Hi, > > I just wanted to type "git status" in my Linux terminal but I made a typo > and I got a long Python 3.3 traceback message. Just curious: What does it > mean? > > gigt status > 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'
This message comes as Steven says from the Python code that checks unrecognised commands against the apt database to offer suggestions for how to install the command you want. The error message either results from a bug in Ubuntu (assuming it is Ubuntu) or it is because you've screwed with your system in some way (or both). Which version of Ubuntu are you using and did it come with Python 3.3 or did you install that separately somehow? I've had problems before that come from installing newer Python versions that haven't yet been appropriately patched for Ubuntu. Oscar _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor