Loading ...
Sorry, an error occurred while loading the content.

72459Re: Python3 support is broken on Windows

Expand Messages
  • Andrei Olsen
    Jul 25, 2013
      On Thursday, July 25, 2013 7:09:38 AM UTC+2, Sergey Khorev wrote:
      > Hi,
      >
      >
      > Apparently it's not only I who can't get Python3 support working in Windows (at least Win7 x64), neither dynamic nor static one, and neither x86 nor amd64. Here are options I tried:
      >
      >
      >
      >
      >
      > All of these builds crash inside pythonXX.dll on "py3 print(1+2)":
      > nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32-x86 DYNAMIC_PYTHON3=no PYTHON3_VER=32
      >
      >
      > nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32-x86 DYNAMIC_PYTHON3=yes PYTHON3_VER=32
      >
      >
      >
      >
      > (64bit) nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=no PYTHON3_VER=32
      >
      >
      > (64bit) nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=yes PYTHON3_VER=32
      >
      >
      >
      > mingw32-make -f Make_ming.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32-x86 DYNAMIC_PYTHON3=no PYTHON3_VER=32
      >
      >
      >
      >
      >
      > mingw32-make -f Make_ming.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32-x86 DYNAMIC_PYTHON3=yes PYTHON3_VER=32
      >
      >
      >
      >
      > mingw32-make -f Make_ming.mak ARCH=x86-64 FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=no PYTHON3_VER=32
      >
      >
      >
      > mingw32-make -f Make_ming.mak ARCH=x86-64 FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=yes PYTHON3_VER=32

      I build regularly with support for both Python 2 and 3 without any problems.

      Make sure you have a recent version of the source and clean up before you build.

      I prefer to build with MingW, but if you wish to build a 64-bit version with Visual C++ 2012 Express:
      1. setup environment

      set CPU=AMD64
      call "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86_amd64

      2. clean up

      nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=yes PYTHON3_VER=32 clean

      3. build

      nmake -f Make_mvc.mak FEATURES=BIG GUI=yes OLE=no NETBEANS=no PYTHON3=d:/Develop/Python32 DYNAMIC_PYTHON3=yes PYTHON3_VER=32

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 5 messages in this topic