The development environment of PYTHON3+PYQT5 built under Mac

Source: Internet
Author: User

You can download the source code for your own compilation, or directly through the PIP3 directly installed.

Because the MAC system is installed Python2 by default, you need to install Python3 first, the following steps are described below.

1. Install Xcode. This is nothing to say, most of the development of Mac without this, open AppStore download installation can.

2. Installation Homebrew

Execute in Terminal

" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "

Wait for the installation to complete. When you are finished, you can use

Brew Doctor

Test the results of the installation.

3. Installing Python3

Install Python3

The installation is complete using the Python3 test to enter the Python interactive run panel, if available, the installation succeeds.

4. Installing PYQT5

If you want to install the latest version, use the command directly

Install PyQt5

To install a specific version, such as 5.7.1, you can specify the version to be installed by-V

Install -v pyqt5==5.7. 1

You need to download larger files and wait patiently for the installation to complete.

The development environment of PYTHON3+PYQT5 built under Mac

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.