Installing PYQT5 part2

Source: Internet
Author: User
Tags visual studio 2010

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.