Hi Guang,

Sorry I was away for a few days.

The 'good' news is that you didn't do anything wrong...

... the 'bad' news is that the proton packages do not build the C extension 
correctly under windows.

I've opened a couple of bugs to track this issue:

https://issues.apache.org/jira/browse/PROTON-1467
https://issues.apache.org/jira/browse/PROTON-1468

As a work-around - you can pull down the qpid-proton sources and build/install 
them along with the python modules using the command line.  See 
http://qpid.apache.org/releases/qpid-proton-0.17.0

Once you unpack the tar file, see the INSTALL.md file for directions on how to 
build & install on windows.  I highly recommend you set the 
-DSYSINSTALL_PYTHON=ON (see the INSTALL.md file for details).

I've built/installed the python modules on my Windows 10 box using the latest 
Python interpreter (3.6.1), cmake v3.8.0, and swig v2.0.9.

I used the following cmake commands (again see INSTALL.md):

cmake -DBUILD_PERL=no -DSYSINSTALL_PYTHON=ON ..
cmake --build . --config RelWithDebInfo --target install

-K


----- Original Message -----
> From: "zhaogxd" <[email protected]>
> To: [email protected]
> Sent: Saturday, April 22, 2017 2:52:14 AM
> Subject: Re: [Python] python-qpid-proton 0.17.0 packages
> 
> Hi Ken,
> 
> When I tried to install this package by running 'pip install
> python-qpid-proton', the installation failed with following error:
> error: command
> 'C:\\Users\\guang.zhao\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual
> C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
> 
> Did I miss anything?
> 
> Thanks!
> 
> Guang
> 
> 
> 
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/Python-python-qpid-proton-0-17-0-packages-tp7659021p7662451.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

-- 
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to