Python Cmd/Powershell error "Traceback (Most recent call last)" -
i giving @ "learn python hard way" tutorial , when told me try out typing python in powershell after installed kept giving me this:
ps c:\users\zach> python traceback (most recent call last): file "c:\python27\lib\site.py", line 548, in <module> main() file "c:\python27\lib\site.py", line 530, in main known_paths = addusersitepackages(known_paths) file "c:\python27\lib\site.py", line 266, in addusersitepackages user_site = getusersitepackages() file "c:\python27\lib\site.py", line 241, in getusersitepackages user_base = getuserbase() # set user_base file "c:\python27\lib\site.py", line 231, in getuserbase user_base = get_config_var('userbase') file "c:\python27\lib\sysconfig.py", line 516, in get_config_var return get_config_vars().get(name) file "c:\python27\lib\sysconfig.py", line 449, in get_config_vars import re file "c:\python27\lib\re.py", line 105, in <module> import sre_compile file "c:\python27\lib\sre_compile.py", line 14, in <module> import sre_parse file "c:\python27\lib\sre_parse.py", line 17, in <module> sre_constants import * file "c:\python27\lib\sre_constants.py", line 18, in <module> _sre import maxrepeat importerror: cannot import name maxrepeat
i tried running through command prompt , got same error. i've installed , uninstalled python 3 times , have done few reboots no avail. new python , i'm confused on here. appreciate links other python tutorials.
in case, understanding, have no modules called "maxrepeat" or you(or installer) have installed somewhere wrong. reinstallation or redirecting path should work.
Comments
Post a Comment