Under Python3.4, pack the PYQT4 program with Cx_freeze

Source: Internet
Author: User

Inspired by the love Grove , the package was successfully completed. The operation process is as follows:

1. Download Cx_freeze

Here is the download address

From this page find CX_FREEZE?4.3.4?CP34?NONE?WIN32.WHL, click Download

2. Modify the extension of the download file

Change extension WHL to zip

3. Unzip the file

Remove 3 of these subdirectories

4. Delete Cx_freeze's old package

Remove the subdirectories associated with Cx_freeze in the Python 3.4 installation directory, lib\site-packages

5. New package for placing Cx_freeze

In Lib\site-packages, place the 3 subdirectories removed above

6. Test whether the new package is working properly

In console mode, enter the directory Lib\site-packages\cx_freeze\samples\pyqt4

Execute command: Python setup.py build

Will generate a packaged file directory build

Go to subdirectories in this directory exe.win32-3.4

Run File PyQt4app.exe

If a blank window appears, Cx_freeze is working properly

Under Python3.4, pack the PYQT4 program with Cx_freeze

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.