Well, I admit that last night was just a toss-up. This thought today still have to toss but also can install SIP, and then nothing, really didn't think so easy.
Let's talk about my installation environment, Win7 x64 + Visual Studio + Python 3.4 x64
Installing SIP in this environment is the following three steps:
configure.py
Nmake
NMAKE Install
However, it is important to note that NMAKE here requires a 64-bit. But there's no need to set up a bunch of environment variables like in part1, what path, what Lib, what include, all without
The only thing to note is not to start nmake with CMD but to follow the steps below:
Start menu->all Programs->microsoft Visual Studio 2010->visual Studio tools->visual Studio x64 Win64 Command P Rompt (2010)
When you run NMAKE from here, the 64-bit is automatically selected so that no module machine type ' x86 ' conflicts with the target machine type ' x64 ' error occurs when compiling
After starting you will find as shown in:
The system has set up a 64-bit environment for you.
Start Visual Studio x64 Win64 Command Prompt (2010) Right-click on the Properties,shortcut tab, which is written in
%comspec%/k "" C:\Program Files (x86) \microsoft Visual Studio 10.0\vc\vcvarsall.bat "" AMD64
Vcvarsall.bat is a batch file that sets the environment, the parameter AMD64 description is set according to the 64-bit environment
Then cut to the directory where the SIP is located, enter the above three lines in order, feedback as shown in the three figure below:
OK, so the SIP has been installed successfully.
Installing PYQT5 part2