-SnooPY- Posted November 6, 2019 Posted November 6, 2019 (edited) 10 hours ago, VistaLover said: So, whenever it's out, v2.7.18 will be the EoL/EoS Python 2.7 release... Yes, this is very sad news. But thanks to this thread and amazing people who write here, I think we will always have a chance, that Python 3.7 will be functional under XP. JFYI, FontForge has a newer version, based on Python 3.7.4. All the problems that I have mentioned above are also relevant to it. For my experiments I choose not the latest version, based on Python 2.7.16 , because it is little easier to adapt under XP. Edited November 6, 2019 by -SnooPY- 1
Zorba the Geek Posted December 7, 2019 Posted December 7, 2019 (edited) A reddit user has posted his custom Python 3.5 binaries intended for Windows XP. The download can be found at https://drive.google.com/open?id=0BwiHllHhj79zaF9faEVsQUsxNDQ As he has not provided an installer I have written this little reg file to provide some of the registry settings one would expect with an official msi installer. It includes associating file types with Python, installation of wheels by double clicking .whl files, the Python path, and the install path. It has been written for an installation at C:\Python35 and needs to be edited if you want to install Python elsewhere. ideally you would use a batch file with the reg command because then you include variables like %SYSTEMROOT% in paths. I have installed this version of Python on my XP machine, and so far everything has gone swimmingly. I ran get-pip.py and the latest versions of pip, wheels, and setup tools were installed with no errors. I have also installed requests2 as a Python wheel and that went OK too. I have been experimenting with this Python as a means to download videos, and despite only succeeding in downloading one video using urllib and requests I have concluded that it is a useful addition to my toolbox and shall keep it on my hard drive According to the developer "zipimport and many 3rd party c extensions don't work on Windows XP now" Requires Microsoft Visual C++ 2015 Redistributable Python 3.5.reg Edited December 7, 2019 by Zorba the Geek HTML code for links not possible. 1
-SnooPY- Posted February 14, 2020 Posted February 14, 2020 I'm sorry to pester again with silly questions, but what about PyQt5 for XP? I recently came across an interesting project called PyQt5-xp. It looks promising and includes officially unsupported PyQt 5.11.3 and PyQt-sip 4.19.13, but unfortunately compiled for Python 2.7 only. If someone is willing and free time to compile these libraries also for Python 3.7, that would be wonderful.
FranceBB Posted February 14, 2020 Author Posted February 14, 2020 (edited) 3 hours ago, -SnooPY- said: I'm sorry to pester again with silly questions, but what about PyQt5 for XP? I recently came across an interesting project called PyQt5-xp. It looks promising and includes officially unsupported PyQt 5.11.3 and PyQt-sip 4.19.13, but unfortunately compiled for Python 2.7 only. If someone is willing and free time to compile these libraries also for Python 3.7, that would be wonderful. Python 2.x and 3.x are two very different languages not compatible with one another. This led to a lot of confusion at the beginning 'cause developers had to rewrite their code and many of them never did and remained on 2.x (which is why it continued to receive security updates for a lot of time). In other words, I'm not really sure it will compile at all if I target 3.x Edited February 14, 2020 by FranceBB
-SnooPY- Posted February 15, 2020 Posted February 15, 2020 16 hours ago, FranceBB said: Python 2.x and 3.x are two very different languages not compatible with one another. In other words, I'm not really sure it will compile at all if I target 3.x If I'm not mistaken, Python is only used to create the configuration, but a crucial part of *.dll and *.pyd code written in C. Unfortunately, at the moment I can not run MSVC 2013 on XP to check it out. I was able to compile some of the simpler libraries, such as the OpenSSL, using MinGW 4.92, but I have not yet mastered PyQt. That is why I am asking for help here from the more experienced and intelligent people.
cmalex Posted May 7, 2020 Posted May 7, 2020 Greetings. I had compiled Cryptography 2.9.4, cffi 0.14.0 and some other libs for Python 3.7.1 (thousand thanks to Dibya) for WinXP (without SSE2 support). OpenSSL 1.1.1g compiled with MSVC for Python 2.7 https://www.microsoft.com/en-us/download/details.aspx?id=44266 *.dll to *.def converted with pexports https://sourceforge.net/projects/mingw/files/MinGW/Extension/pexports/ Cryptography compiled (and *.def to *.a converted) with MinGW GCC 6.1 http://files.1f0.de/mingw/mingw-w64-gcc-6.1-stable-r20.7z Command line for compiling python setup.py build -c mingw32 But it's also need some changes in distutils and setup.py... At least streamlink, youtube-dl and mitmproxy (6.0 from git) works perfectly. Full archive from C:\Python37 https://mega.nz/#!v8MjAATQ!fYErykcN0bBSVvU2-SjqcY8UG6sJsMZYQk5B_X6WflQ 2
genieautravail Posted May 21, 2020 Posted May 21, 2020 (edited) On 5/7/2020 at 12:26 PM, cmalex said: At least streamlink, youtube-dl and mitmproxy (6.0 from git) works perfectly. Do you have compiled from sources with your modded Python37 ? I'm a newbie in this domain, how do you do that ? Edited May 21, 2020 by genieautravail Correction
VistaLover Posted October 6, 2021 Posted October 6, 2021 On 5/7/2020 at 1:26 PM, cmalex said: with MSVC for Python 2.7 https://www.microsoft.com/en-us/download/details.aspx?id=44266 Evil Microsoft have removed that package (VCForPython27.msi) last April (2021) ... Fortunately, WebArchive have salvaged it below: http://web.archive.org/web/20210414074322/https://www.microsoft.com/en-us/download/details.aspx?id=44266 http://web.archive.org/web/20210106040224if_/https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi Digitally signed (SHA1, WinXP compatible) on Sep 29th, 2014 ... 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now