Not sure why I'm having such trouble, I did find this article helpful with the following additional hacks..
I modified my Microsoft Visual Studio install to include:
Quote:
*Python Tools
*Universal Windows App Development Tools
*Common Tools for Visual C++ 2015
|
Since I'm running 32bit, I had to run (there's a 64bit version)
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat
I then edited the:
C:\Python27\Lib\distutils\msvc9compiler.py to fix a 'can't find the vcvarsall.bat' error.
Quote:
def query_vcvarsall(version, arch="x86"):
"""Launch vcvarsall.bat and read the settings from its environment
"""
#vcvarsall = find_vcvarsall(version)
vcvarsall = r'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat'
|
I added these to my PATH variable in the 'Advanced System Properties'
Quote:
C:\Python27\;c:\Qt\5.6\msvc2015\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
|
I had to install PyQT5 from source, since the installers online didn't work and were for newer python 3.3:
I had to disable the build of GtNfc as it was crashing nmake. no ill effects so far.
Quote:
nmake configure.py --disable QtNfc
|
I then added a PYTHONPATH environmental variable with:
Quote:
C:\Python27;C:\Python27\Lib\site-packages\PyQt5
|
Hope this helps someone else.
Rob
References:
http://blog.abstractfactory.io/pyqt5...or-python-2-7/
https://bugreports.qt.io/browse/QTBUG-50191
http://stackoverflow.com/questions/3...tudio-2015-v-1
https://www.riverbankcomputing.com/p...ch/037061.html