-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
erbb setup doesn't work with Python ARM 64 on Windows.
Collected from build-system/toolchain/pip-install-reqs.log.txt
2023-06-16T15:01:09,131 Collecting cffi>=1.1.0
2023-06-16T15:01:09,147 Using cached cffi-1.15.1.tar.gz (508 kB)
2023-06-16T15:01:09,240 Installing build dependencies: started
2023-06-16T15:01:09,240 Running command pip subprocess to install build dependencies
2023-06-16T15:01:09,756 Collecting setuptools>=40.8.0
2023-06-16T15:01:09,756 Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB)
2023-06-16T15:01:09,803 Collecting wheel
2023-06-16T15:01:09,803 Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
2023-06-16T15:01:09,865 Installing collected packages: wheel, setuptools
2023-06-16T15:01:10,522 Successfully installed setuptools-67.8.0 wheel-0.40.0
2023-06-16T15:01:10,600 Installing build dependencies: finished with status 'done'
2023-06-16T15:01:10,600 Getting requirements to build wheel: started
2023-06-16T15:01:10,600 Running command Getting requirements to build wheel
2023-06-16T15:01:10,772 Traceback (most recent call last):
...
2023-06-16T15:01:10,772 File "C:\Users\epa\AppData\Local\Temp\pip-build-env-qlb5zu5_\overlay\Lib\site-packages\setuptools\msvc.py", line 210, in msvc14_get_vc_env
2023-06-16T15:01:10,772 return _msvc14_get_vc_env(plat_spec)
2023-06-16T15:01:10,772 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-06-16T15:01:10,772 File "C:\Users\epa\AppData\Local\Temp\pip-build-env-qlb5zu5_\overlay\Lib\site-packages\setuptools\msvc.py", line 164, in _msvc14_get_vc_env
2023-06-16T15:01:10,772 raise distutils.errors.DistutilsPlatformError(
2023-06-16T15:01:10,772 distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
2023-06-16T15:01:10,788 error: subprocess-exited-with-error
This because a binary distribution of cffi is not available for Windows ARM, only AMD64.
Workaround: do not use Python ARM64, which is anyway still marked as experimental, use the AMD64 one, and let Windows do the emulation.
This needs to be captured in the documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation