![]() You can either download file, or install the latest from the source repository with mercurial ( hg).SIP is a tool for automatically generating Python bindings for C and C++ libraries. Install SIP PyQt requires to have the SIP module installed. ~/.venv/qtproject/bin/activate At this point, typing the command which python3 should output something like ~/.venv/qtproject/bin/python3. # Create the directory $ mkdir -p ~/.venv # Create the virtual environment $ python3 -m venv ~/.venv/qtproject # Activate the virtual environment $. I’d recommend to install Qt into the directory /opt/qt.Install Qt Libraries First we need to download and install the Qt libraries: This adds a number of tools to your system, such as make, git, gcc, c++ and g++. Then by entering the following command in the terminal: xcode-select -install. ![]() Install Xcode and command-line tools If you are using OS X, and install it. If you need to install it, check out the, or install it with ( brew install python3) on OS X or your favorite Linux package manager. You can easily check this by opening the terminal and entering the command python3.
0 Comments
Leave a Reply. |