Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

setup.py bdist_wheel numpy fails on arm64 #15168

Copy link
Copy link
Closed
@srohit0

Description

@srohit0
Issue body actions

building numpy from source code fails on arm64 because of missing dependency Cython.

ModuleNotFoundError: No module named 'Cython'

Reproducing code example:

python setup.py bdist_wheel

Error message:

Running setup.py bdist_wheel for numpy: started
Running setup.py bdist_wheel for numpy: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-u485u_8l/numpy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpijsuuig2pip-wheel- --python-tag cp36:
Running from numpy source directory.
Cythonizing sources
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Traceback (most recent call last):
File "/tmp/pip-build-u485u_8l/numpy/tools/cythonize.py", line 61, in process_pyx
from Cython.Compiler.Version import version as cython_version
ModuleNotFoundError: No module named 'Cython'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/pip-build-u485u_8l/numpy/tools/cythonize.py", line 238, in
main()
File "/tmp/pip-build-u485u_8l/numpy/tools/cythonize.py", line 234, in main
find_process_files(root_dir)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.