osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's wrong on using Popen's communicate method?


eryk sun? 2019?7?7???? UTC+8??3?51?57????
> On 7/6/19, jfong at ms4.hinet.net <jfong at ms4.hinet.net> wrote:
> >
> > I turn off the anti-virus and tried v3.6.8, get the same result. Usually the
> > anti-virus program will warn me if something was blocked.
> 
> In case the executable is corrupt, clear your browser cache and
> download the 32-bit version again:

    I have its MD5 checked after each download.
 
> https://www.python.org/ftp/python/3.6.8/python-3.6.8.exe
>
> Try to run the installer from an elevated command prompt. If it fails
> to run, check again for log files in your %TEMP% directory, which
> typically expands to "C:\Users\<username>\AppData\Local\Temp".
> 
> If the installer is still not running -- not even enough to create a
> single log file -- then apparently something is configured incorrectly
> or missing on your computer that's causing it to fail hard. I'd have
> to run it under a debugger to find the cause.

    It's very possible there is some problem in my system. A few months ago  suddenly I can't login to my email account through ThunderBird. Now I have to remove my password from its settings and manually type-in every time when I log in.
    
    Using a debugger is a big burden to me because I am not familiar with the internal of Windows well.

> Anyway, if you're stuck with ancient 3.4, you can at least install
> "pywin32-221.win32-py3.4.exe" from the old SourceForge repo:
> 
> https://sourceforge.net/projects/pywin32/files/pywin32/Build%20221

    Thank you for the link. I will try it later and hope it will run:-)

--Jach