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

MinGW raised error when install from source #3209

KmolYuan opened this issue Oct 26, 2019 · 0 comments


Copy link

@KmolYuan KmolYuan commented Oct 26, 2019

Same error as #2734 when installing Cython. MSVC is fine.

C:\Users\...\AppData\Local\Temp\pip-install-aoxivj9u\cython\Cython\Plex\Scanners.c:216:12: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
      216 |     enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
          |            ^~~~~~~~~~~~~~~~~~~~~~~~

Needs to pass MS_WIN64 macro when compiling, but there is no anyway to add it during pip install cython.

Another way is patching

@KmolYuan KmolYuan changed the title MinGW raised error when build from source MinGW raised error when install from source Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.