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

Python 3.7 Windows debug build fails #3185

Dekken opened this issue Oct 13, 2019 · 0 comments


Copy link

@Dekken Dekken commented Oct 13, 2019

Install fresh python 3.7.4 with debug


call vcvars64.bat

python_d -m pip install pip --upgrade
python_d -m pip install wheel
python_d -m pip install cython
python_d bdist_wheel  # numpy from source
Running from numpy source directory.
C:\pro\py\37d\lib\site-packages\setuptools\ DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Cythonizing sources
numpy/random\ has not changed
Processing numpy/random\bit_generator.pyx
Traceback (most recent call last):
  File "C:\pro\py\37d\lib\", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\pro\py\37d\lib\", line 85, in _run_code
    exec(code, run_globals)
  File "C:\pro\py\37d\lib\site-packages\", line 16, in <module>
    from Cython.Compiler.Main import main
  File "C:\pro\py\37d\lib\site-packages\Cython\Compiler\", line 28, in <module>
    from .Scanning import PyrexScanner, FileSourceDescriptor
ImportError: Module use of python37.dll conflicts with this version of Python.
Traceback (most recent call last):
  File "D:\git\numpy-1.17.2\tools\", line 243, in <module>
  File "D:\git\numpy-1.17.2\tools\", line 239, in main
  File "D:\git\numpy-1.17.2\tools\", line 230, in find_process_files
    process(root_dir, fromfile, tofile, function, hash_db)
  File "D:\git\numpy-1.17.2\tools\", line 196, in process
    processor_function(fromfile, tofile)
  File "D:\git\numpy-1.17.2\tools\", line 86, in process_pyx
    [sys.executable, '-m', 'cython'] + flags + ["-o", tofile, fromfile])
  File "C:\pro\py\37d\lib\", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\pro\\py\\37d\\python_d.exe', '-m', 'cython', '-3', '--fast-fail', '-o', 'bit_generator.c', 'bit_generator.pyx']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "", line 443, in <module>
  File "", line 426, in setup_package
  File "", line 234, in generate_cython
    raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
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.