Python 3.4: compile cython module for 64-bit windows

萝らか妹 提交于 2019-12-03 00:14:52

Ok, at long last I managed to make it work.

The fantastic resources by Christoph Gohlke (http://www.lfd.uci.edu/~gohlke/pythonlibs) are key.

  1. Install your desired Python version in the conventional way
  2. Install any extensions you need from Gohlke's site
  3. Install MinGW-w64 from http://tdm-gcc.tdragon.net/download
  4. Patch distutils as per http://bugs.python.org/issue11723
  5. Install the appropriate version of libpython from Gohlke's site
  6. Bob's yer uncle

(Trying all sorts of wild suggestions for this task, I have gone through many more steps but as far as I can tell, these are the only ones that actually made a difference in the end)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!