<div dir="ltr"><div><div><div>Thanks to both of you for the info.  It'll take me a while to dig through it and make sense of it all.<br><br></div>Today I was able to install visual studio community 2015 for use with python 3.5.  Then I tried using pip to install python-pptx and xlwings.  I believe on xlwings I got the following error (in part) didn't know if the whole thing would be useful.  Thinking about this I'm not sure if this a compiler issue or a situation where lxml isn't supported in 3.5 yet.   Might someone be able to shed some insight?<br><br></div>Thanks,<br></div>Jeff<br><div><div><br>...<br>    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\vandeje1\AppDat<br>a\Local\Temp\1\pip-build-ih2xe4gw\lxml\src\lxml\includes -IC:\Users\vandeje1\AppData\Local\Programs\Python\Python35-32\include -IC:\<br>Users\vandeje1\AppData\Local\Programs\Python\Python35-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE"<br>"-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.101<br>50.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared<br>" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcsrc\lxml\lxml.<br>etree.c /Fobuild\temp.win32-3.5\Release\src\lxml\lxml.etree.obj -w<br>    cl : Command line warning D9025 : overriding '/W3' with '/w'<br>    lxml.etree.c<br>    C:\Users\vandeje1\AppData\Local\Temp\1\pip-build-ih2xe4gw\lxml\src\lxml\includes\etree_defs.h(14): fatal error C1083: Cannot ope<br>n include file: 'libxml/xmlversion.h': No such file or directory<br>    C:\Users\vandeje1\AppData\Local\Programs\Python\Python35-32\lib\distutils\dist.py:261: UserWarning: Unknown distribution option:<br> 'bugtrack_url'<br>      warnings.warn(msg)<br>    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2<br><br>    ----------------------------------------<br>Command "C:\Users\vandeje1\AppData\Local\Programs\Python\Python35-32\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\<br>\vandeje1\\AppData\\Local\\Temp\\1\\pip-build-ih2xe4gw\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read(<br>).replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\vandeje1\AppData\Local\Temp\1\pip-yz3bhof7-record\install-rec<br>ord.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\vandeje1\AppData\Local\Temp\1\pip-build-<br>ih2xe4gw\lxml<br><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 27, 2015 at 2:10 PM, eryksun <span dir="ltr"><<a href="mailto:eryksun@gmail.com" target="_blank">eryksun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Sep 26, 2015 at 4:40 PM, Jeff VanderDoes<br>
<<a href="mailto:jeffvanderdoes@gmail.com">jeffvanderdoes@gmail.com</a>> wrote:<br>
><br>
> I'm fairly new to Python and was excited to start playing with it until I<br>
> ran into need to compile some extensions under windows 7 64 bit.  I've done<br>
> some searching but after more hours than I care to count being unsuccessful<br>
> setting up MS visual studio (2015, 2012, and 2010) with service packs and<br>
> SDKs I can tell I'm spinning my wheels and going nowhere fast.<br>
<br>
</span>For 3.5 you should be able to just install Visual Studio 2015<br>
Community Edition. This is the current release of Visual Studio, so if<br>
you encounter problems, at least finding help won't be one of them.<br>
<br>
2.7 is built with VS 2008, which is no longer supported. But, thanks<br>
to Steve Dower, Microsoft distributes an unsupported version for<br>
building Python 2.7 extension modules [1].<br>
<br>
3.4 is built with the fairly old VS 2010, for which the free Express<br>
edition is no longer available. But you should be able to configure a<br>
command-line build environment. Install the Windows SDK 7.1 [2] and<br>
the VC++ 2010 SP1 Compiler Update [3]. Then run the Windows SDK 7.1<br>
Command Prompt [4], and enter<br>
<br>
    SetEnv /Release /x64<br>
<br>
If you plan to do native debugging outside of Visual Studio, install<br>
the Debugging Tools for Windows [5] when installing the SDK. You can<br>
download public debug symbols for operating system components using<br>
Microsoft's symbol server. To do this, create a "C:\Symbols"<br>
directory, and set the following environment variable:<br>
<br>
    _NT_SYMBOL_PATH=symsrv*symsrv.dll*C:\Symbols*<a href="http://msdl.microsoft.com/download/symbols" rel="noreferrer" target="_blank">http://msdl.microsoft.com/download/symbols</a><br>
<br>
Additionally you'll need Python's debug symbols, such as for 64-bit<br>
3.4.3 [6]. I typically copy a PDB next to its related DLL/EXE. This is<br>
what 3.5's installer does when you select the option to install debug<br>
symbols (nice job, Steve!). You can also unzip the PDBs to a directory<br>
that's in _NT_SYMBOL_PATH, or update the symbol path dynamically using<br>
.sympath+ and .reload [7].<br>
<br>
[1]: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=44266" rel="noreferrer" target="_blank">https://www.microsoft.com/en-us/download/details.aspx?id=44266</a><br>
[2]: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=8279" rel="noreferrer" target="_blank">https://www.microsoft.com/en-us/download/details.aspx?id=8279</a><br>
[3]: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=4422" rel="noreferrer" target="_blank">https://www.microsoft.com/en-us/download/details.aspx?id=4422</a><br>
[4]: <a href="https://msdn.microsoft.com/en-us/library/ff660764" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-us/library/ff660764</a><br>
[5]: <a href="https://msdn.microsoft.com/en-us/library/ff551063" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-us/library/ff551063</a><br>
[6]: <a href="https://www.python.org/ftp/python/3.4.3/python-3.4.3.amd64-pdb.zip" rel="noreferrer" target="_blank">https://www.python.org/ftp/python/3.4.3/python-3.4.3.amd64-pdb.zip</a><br>
[7]: <a href="https://msdn.microsoft.com/en-us/library/ff565407" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-us/library/ff565407</a><br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
<br>
</font></span></blockquote></div><br></div>