Python does not start

jelena.tavcar at gmail.com jelena.tavcar at gmail.com
Sat Nov 12 04:13:45 EST 2016


I’m sending you the error message from command prompt

C:\Users\Jelena>py.exe -3.5-32 -m idlelib
Traceback (most recent call last):
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\__main__.py", line 7, in <module>
    idlelib.PyShell.main()
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\PyShell.py", line 1582, in main
    shell = flist.open_shell()
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\PyShell.py", line 320, in open_shell
    self.pyshell = PyShell(self)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\PyShell.py", line 867, in __init__
    OutputWindow.__init__(self, flist, None, None)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\OutputWindow.py", line 16, in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\EditorWindow.py", line 172, in __init__
    self.apply_bindings()
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\EditorWindow.py", line 1068, in apply_bindings
    text.event_add(event, *keylist)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\idlelib\MultiCall.py", line 374, in event_add
    widget.event_add(self, virtual, seq)
  File "C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\tkinter\__init__.py", line 1504, in event_add
    self.tk.call(args)
_tkinter.TclError: bad event type or keysym "Alt"

Sent from Mail for Windows 10

From: eryk sun
Sent: 12 November 2016 00:11
To: python-list at python.org
Cc: jelena.tavcar at gmail.com
Subject: Re: Python does not start

On Fri, Nov 11, 2016 at 9:38 PM,  <jelena.tavcar at gmail.com> wrote:
> It says that ’py-3.5-32-m’ is not recognized as an internal or external
> command, operable program or batch file.

There's supposed to be a space after "py". Let's add the .exe
extension to make this clearer:

    py.exe -3.5-32 -m idlelib

And please do not paraphrase error messages. Copy and paste errors
verbatim. Also, make sure to reply-all to include python-list.




More information about the Python-list mailing list