Installation Successful, but pythonw and idle doesn't function

Zachary Ware zachary.ware+pylist at gmail.com
Wed Aug 5 22:43:20 EDT 2015


Hi Rick,

On Wed, Aug 5, 2015 at 11:12 AM, Rick Smith <python at activemail.us> wrote:
> I was able to install various versions of Python (3.5.0b4 32bit being the
> most recent) multiple times (uninstalling in between) and they worked
> ("python --version" at the command line worked).
>
> However pythonw.exe did not and does not work. I was simply returned to the
> command prompt, without ANY interaction or error.
>
>   prompt>pythonw
>
>   prompt>

As I believe others have mentioned, 'pythonw' is not the one you want
to use 99% of the time.  'pythonw' is a 'win32' app rather than a
'console' app, meaning that it has no attached console, and if you
just run it with no arguments, it will appear to do nothing (though
actually, it starts, finds it has no input, and ends very quickly).

> I also attempted to run "idle", with the following results:
>
>
> C:\Users\judy\AppData\Local\Programs\Python\Python35-32\Lib\idlelib>idle.py
>   ** IDLE can't import Tkinter.
>   Your Python may not be configured for Tk. **

You hit upon a bug in 3.5.0b4, which is that the installer is broken
for tkinter unless you have Microsoft Visual Studio 2015 installed.
See http://bugs.python.org/issue24771 for details, the fix will be
included in 3.5.0rc1.

Your best bet is to avoid using pre-release software, and stick with
Python 3.4.3 until such time as 3.5.0 final is released.

Hope this helps,
-- 
Zach



More information about the Python-list mailing list