Skip to content
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

erbb setup doesn't work with Python ARM 64 on Windows #569

Open
ohmtech-rdi opened this issue Jun 16, 2023 · 0 comments
Open

erbb setup doesn't work with Python ARM 64 on Windows #569

ohmtech-rdi opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@ohmtech-rdi
Copy link
Owner

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.

@ohmtech-rdi ohmtech-rdi added bug Something isn't working documentation Improvements or additions to documentation labels Jun 16, 2023
@ohmtech-rdi ohmtech-rdi self-assigned this Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant