Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-28 Thread Stefan Behnel
Lisandro Dalcin schrieb am 24.08.2014 um 10:57: > On 14 August 2014 08:20, Andriy Kornatskyy wrote: >> When installing either from pip3 or downloading the source with python3 >> setup.py install > > Could you please show us the full output of "python3 setup.py build" ? It's here: http://pastebi

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-28 Thread Andriy Kornatskyy
Stefan, That is an output of build: python setup.py build. There is nothing else produced unless you tell how to make it more verbose to provide you what you expect to see. How else you want this to be built? Thanks. Andriy Kornatskyy On Aug 28, 2014, at 1:46 PM, Stefan Behnel wrote: > And

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-28 Thread Stefan Behnel
Andriy Kornatskyy schrieb am 28.08.2014 um 10:08: > Hmm… you have a complete build log from the entering the build command up to > the point where it fails which you can still find here: > > https://bitbucket.org/akorn/wheezy.template/issue/10/installation-on-windows-fails#comment-12006152 Sorry

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-28 Thread Andriy Kornatskyy
Stefan, Hmm… you have a complete build log from the entering the build command up to the point where it fails which you can still find here: https://bitbucket.org/akorn/wheezy.template/issue/10/installation-on-windows-fails#comment-12006152 Or am I missing something? Thanks. Andriy Kornatskyy

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-28 Thread Stefan Behnel
Andriy Kornatskyy schrieb am 27.08.2014 um 07:08: > Here is a link to complete output with python3.4: > https://bitbucket.org/akorn/wheezy.template/issue/10/installation-on-windows-fails#comment-12006152 What Lisandro meant with "complete" is "from entering the build command to the point where it

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-27 Thread Andriy Kornatskyy
Sturla, Per further details: https://bitbucket.org/akorn/wheezy.template/issue/10/installation-on-windows-fails#comment-12018243 It is python 32 bit on 64 bit machine. Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (In tel)] on win32 Thanks. Andriy Kornatskyy On

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-27 Thread Sturla Molden
64-bit Python cannot be used to build 32-bit extensions. Yes, you can build extensions for 32-bit Python on 64-bit Windows, but not with 64-bit Python. Sturla Andriy Kornatskyy wrote: > Here is a link to complete output with python3.4: > > https://bitbucket.org/akorn/wheezy.template/issue/10/

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-26 Thread Andriy Kornatskyy
Here is a link to complete output with python3.4: https://bitbucket.org/akorn/wheezy.template/issue/10/installation-on-windows-fails#comment-12006152 Thanks. Andriy Kornatskyy On Aug 24, 2014, at 11:57 AM, Lisandro Dalcin wrote: > On 14 August 2014 08:20, Andriy Kornatskyy wrote: >> When ins

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-24 Thread Lisandro Dalcin
On 14 August 2014 08:20, Andriy Kornatskyy wrote: > When installing either from pip3 or downloading the source with python3 > setup.py install Could you please show us the full output of "python3 setup.py build" ? -- Lisandro Dalcin Research Scientist Computer, Electrical and Mat

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-23 Thread Sturla Molden
On 21/08/14 13:30, Lisandro Dalcin wrote: Sturla, isn't this supposed to be handled in pyconfig.h (at least when using MSVC) ? I see these lines in PC/pyconfig.h (from Python sources): Yes, it is supposed to, but the error message suggest it was not and the compile line does not have it. St

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-21 Thread Lisandro Dalcin
On 20 August 2014 20:25, Sturla Molden wrote: > To build a Python extension for Win64 you must define the symbol MS_WIN64, > typically -DMS_WIN64. > Sturla, isn't this supposed to be handled in pyconfig.h (at least when using MSVC) ? I see these lines in PC/pyconfig.h (from Python sources): /* M

Re: [Cython] error LNK2001: unresolved external symbol PyInit_init

2014-08-20 Thread Sturla Molden
To build a Python extension for Win64 you must define the symbol MS_WIN64, typically -DMS_WIN64. Sturla Andriy Kornatskyy wrote: > Here is an issue when trying to install wheezy.template (it uses > cythonize) into environment with cython. > > Host: windows 7 64bit Python version: 3.4.1 32 bit