adang1345 / pythonwin7 Goto Github PK
View Code? Open in Web Editor NEWPython 3.9+ installers that support Windows 7 SP1 and Windows Server 2008 R2
License: MIT License
Python 3.9+ installers that support Windows 7 SP1 and Windows Server 2008 R2
License: MIT License
RE official -> unofficial:
Is it possible to upgrade directly from official Python x64 (e.g. v3.8) to your unofficial x64 package, or is it recommended/necessary to uninstall the official build first?
RE unofficial -> unofficial:
And once a system is using your unofficial packages, can it be upgraded from version to version in the same (inline) way that the official builds can be?
Thank you
Hi!
Can someone create package for chocolatey package manager?
Python 3.11.6 and 3.12.0 have been released. I will close this once I have built installers for it.
The link that you have posted for KB3063858 is for the 32 bit version only. If you didn't know, Windows updates are either 32 bit or 64 bit only. They don't get packaged in the same installer.
The 64 bit version of KB3063858 can be found here:
https://www.microsoft.com/en-gb/download/details.aspx?id=47442
On adding interpreter in PyCharm '[unsupported]' in red is prefixed to interpreter entry.
PyCharm detects it as Python 3.1 with message "Python 3.1 has reached its end-of-life date and it is no longer supported in PyCharm"
i get ! C:\Users\me\Pictures\new k5\PythonWin7-master.zip: Unexpected end of archive
I can`t run the python version even with modified version provided by this repo.
Can you help?
With embedd, the dll error ocurrs.
With installer, setup failed screen appears
How can I install PythonWin7 under Anaconda3 (https://www.anaconda.com/) ?
Here is an example reproducer:
>>> import os
>>> os.stat('c:\\windows\\notepad.exe')
os.stat_result(st_mode=33279, st_ino=281474976770376, st_dev=3158229071, st_nlink=2, st_uid=0, st_gid=0, st_size=193024, st_atime=1464830981, st_mtime=1464830981, st_ctime=1464830981)
>>> f = open('c:\\windows\\notepad.exe', 'rb')
>>> f.fileno()
3
>>> os.fstat(f.fileno())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [WinError 87] The parameter is incorrect
I did not observe this issue with python 3.11.
Note to self: Python 3.12 removes some code for Windows 7. Maybe we can add it back in when building Python 3.12, or maybe it will be too challenging to continue support for Python 3.12 on Windows 7.
Dear devs,
That's an awesome work you do here!
There are nuget
packages available in the repo. However, I can't do just
nuget install "https://github.com/adang1345/PythonWin7/blob/master/3.11.3/python.3.11.3.nupkg"
Neither can I add the repo to nuget
sources:
nuget sources add -name "PythonWin7" -source "https://github.com/adang1345/PythonWin7/blob/master/"
Well, I can, but without a JSON description of the repo, it doesn't make much sense.
Please add a word or two to the README about how to use the packages and how to make Python auto-updatable.
I m trying to use pandas with 3.9 or 3.11 on usb stick and E:\python3.11
import pandas
Traceback (most recent call last):
File "", line 1, in
File "E:\python3.11\pandas_init_.py", line 16, in
raise ImportError(
ImportError: Unable to import required dependencies:
numpy:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: No module named 'numpy.core._multiarray_umath'
First of all, thank you~ (',,-ω-,,)♡
for built some unofficial installers for Python 3.9 and 3.10 that work on Windows 7 since it is no longer in the developers' interest to maintain official support.
I hope you can keep the unofficial versions in the future...
Many programs, games, browsers still work without problems in windows 7... It is sad to see when a dev says it is not supported or puts a lock on the executable to not work.
About the *.dll (api-ms-win-core-path-l1-1-0.dll) I have been using it for a time, as well as the DirectX 12 DLL for windows 7:
https://github.com/microsoft/DirectX-Specs/blob/master/d3d/D3D12onWin7.md
d3d12.dll and d3d11on12.dll extracting the nuget package: https://www.nuget.org/packages/Microsoft.Direct3D.D3D12On7
(Oh and I will close the topic after you see it (or you can close it)
Thanks again ♡ (ɔˆз(ˆ⌣ˆc)
Due to python/cpython#96729, the GUIDs of the installer change between Python 3.9.6 and 3.9.7, making it impossible to upgrade across this gap. The installer for Python ≥3.9.7 will fail to recognize that there already exists a Python installation and will instead require a new, side-by-side installation.
I forked to my own account and cloned locally. Seeing you updated, I looked to update my fork, but I'm seeing this
Not sure how to synchronise or what I should do...
Here is a solution through the GitHub Actions pipeline:
https://github.com/crazy-max/ghaction-virustotal
Direct API:
https://github.com/VirusTotal
Dear Aohan Dang,
This is not an issue but a small notification that I have used your patches to build Python 3.9 for Windows Vista and Windows 7. Versions 3.10 and 3.11 will be published later, closer to their final bugfixes. I have published the full source code instead of patches which will make it easy to build in the future when the branches of these versions will be closed in the official CPython repository. I have given you credit.
Regards,
Volodymyr Halchenko
Are there any plans to create ver 3.13 builds/Win7?
thanks!
Firstly, I would like to thank you for making and actively maintaining PythonWin7 (similar sentiment to #2). Companies in the manufacturing industry tend to use older OS's... many suppliers still distribute Windows 7 by default.
This request is two parts:
Opening "python.exe" from any of "python-3.x.x-embed-win32.zip" results with this error.
I have checked it with different Windows 7 (x86) installations on couple of netbooks which has Intel Atom (old x86 variant) processors. Also I tested different modded Windows 7 32 bit editions on VirtualBox and results were the same.
Currently, I am using Anaconda in Windows 7 Pro for all my Python environments. Each environment is separate and independent for different software.
How do I install this repository in an Anaconda Environment, rather than the entire Windows 7 system?
Is there a way to build a wheel file (.whl) and then pip install that wheel to a conda environment?
https://github.com/pcroland/deew/blob/main/.github/workflows/build.yaml
This is the current workflow for a project of mine.
windows-build:
name: Windows
runs-on: windows-latest
needs: linux-build
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up libraries
run: |
python -m pip install wheel poetry
python -m pip install "https://github.com/pcroland/Pyinstaller-Builds/releases/download/PyInstaller/pyinstaller-6.3.0-py3-none-win_amd64.whl"
python -m pip install .
- name: Fetch version
run: |
$version=$(python -c "print(open('changelog.md', 'r').read().split('\n')[0].split(' ')[2].replace(':', ''))")
echo "Version: $version"
echo "RELEASE_VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Build
run: |
pyinstaller -F __main__.py -n deew --icon logo/icon.ico
I would like to be able to build a binary with the latest Python that runs on Win7 aswell.
Do i need https://github.com/adang1345/PythonWin7/blob/master/3.12.1/python-3.12.1-embed-amd64.zip or https://github.com/adang1345/PythonWin7/blob/master/3.12.1/python-3.12.1-amd64-full.exe to achieve it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.