-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to Build wxPython 4.2.1 on WOA #2521
Comments
You probably have the wrong 'attrdict'. See https://github.com/wxWidgets/Phoenix/blob/master/requirements/devel.txt The build process also requires a bash. On my Windows I have a |
On more trap to avoid: |
Thanks! That's really helpful. |
Sadly I still cannot build this package on my own. The new problem seems caused by Setuptools probably. From the error code it seems that the setuptools does not work well for Python 3.11 ARM64. Here are the error codes. Traceback (most recent call last): |
Unfortunately, it looks like the Phoenix build process assumes 64-bit is x64, see here: You could try tweaking those arguments. Unfortunately, arm64 w/ Windows is a rare thing, so not sure I'd have access to a machine to troubleshoot. |
Windows on Arm is getting traction. I managed to tweak The project compiles the C code, but the build fails at the First, I used Then, I added some branching to account for the new platform. Basically, whenever I see In the I think it is The command run is I tried to tweak the Any clues, please? Hope it helps |
I think I did mistake in some places of file. Can you send your build.py file here? |
in the last attempt, I edited incorrectly build.py now I edited it correctly and got the same result as you:
And here full logs of my errors: I will ask ChatGPT to help with this error, but almost sure that it will not help :( |
Working on this. In addition to some changes in wxPython, some changes need to be made in WAF, and possibly in setuptools. |
FINALLY! Thank you great hero. |
@swt2c can you also make port for Windows 10 ARM32? |
Is there MSVC for ARM32? I can't find any evidence of it. |
Hi. https://discord.com/channels/710026735294349322/710026735730556969/1320041037070073906 https://files.open-rt.party/Software/dev/llvm-armv7-w64-windows-msvc.zip Btw maybe there is way to patch wxPython to force it use llvm-mingw instead? |
Hi again. If you already have successfully compiled wxPython to ARM64 Windows, can you send pre-compilled .whl file here? |
Which Python version? |
3.12 |
Thanks alot!!! |
Operating system: Windows 11 on ARM
wxPython version & source: wxPython 4.2.1 downloaded by pip
Python version & source: Python 3.11.6 for ARM64 stable release download from python.org
Description of the problem:
I try to build wxPython 4.2.1 on Windows 11 ARM, but it failed. I already have vsbuild tools installed.
The information are as following:
"D:\Anaconda3\envs\Python311-ARM64\Scripts\python.exe" -u build.py build
C:\Users\galoi\AppData\Local\Temp\pip-req-build-4v921m59\build.py:43: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead.
from distutils.dep_util import newer, newer_group
Will build using: "D:\Anaconda3\envs\Python311-ARM64\Scripts\python.exe"
3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 15:03:40) [MSC v.1935 64 bit (ARM64)]
Python's architecture is 64bit
cfg.VERSION: 4.2.1
Code Example (click to expand)
# Put code sample here
The text was updated successfully, but these errors were encountered: