

It supports Python v2 and v3 and Qt v4 and Qt v5. PyQt is the Python bindings for Digia's Qt cross-platform application development framework. Type "help", "copyright", "credits" or "license" for more information. The GPL licensed Python bindings for the Qt application framework. |#| 100%īut I am still unable to import PyQt4 into python i.e: Devins-MacBook-Pro:PyQt-mac-gpl-4.11.4 devineurons$ python The following packages will be SUPERCEDED by a higher-priority channel:Ĭonda: 4.2.13-p圓5_0 -> 4.2.13-p圓5_0 anaconda The following packages will be downloaded: Package plan for installation in environment /Users/devineurons/anaconda: This supposedly "worked" Fetching package metadata.
Pyqt4 download for mac install#
I hope someone can After reading your response, I executed the following in terminal: conda install -c anaconda pyqt=4.11.4 I'm not sure where the problem is at (or if I'm missing something in python or another program) because I am very new to this. I'm not sure if it worked completely because I still have some folders related to v5.7 in my Qt folder. I have also downloaded Qt 4.8.7-4 using anaconda, but I previously had version 5.7.
Pyqt4 download for mac code#
Ld: symbol(s) not found for architecture x86_64Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation) Undefined symbols for architecture x86_64: G++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -o qtdetail.app/Contents/MacOS/qtdetail qtdetail.o -L/Users/devineurons/anaconda/lib -lQtCore -L/Users/devineurons/anaconda/libĬlang: warning: libstdc++ is deprecated move to libc++ with a minimum deployment target of OS X 10.9 Users/devineurons/anaconda/bin/qmake -spec macx-g++ -o qtdetail.mk qtdetail.pro The -verbose flag to see more detail about the problem.Īfter using the -verbose function with the command, I receive the following: //Querying qmake about your Qt installation. This function, along with " configure.py" are in my directory "/Users/devineurons/anaconda/lib/PyQt-mac-gpl-4.11.4." When I set this as my directory in terminal and execute 'python configure-ng.py,' I receive the following error: //Querying qmake about your Qt installation.ĭetermining the details of your Qt installation.Įrror: Failed to determine the detail of your Qt installation. My main problem appears to be executing the function 'python configure-ng.py' to start building PyQt4. I believe this is due to unsuccessful installation of PyQt4 I have already successfully downloaded SIP using homebrew (it tells me, however, that it is not yet 'linked' and I do not know what that means).Īlso, I am not sure what scip is - is it something that I need to download separately? ~/Downloads/PyQt5_gpl-5.7.1/QtCore/sipQtCoreQt.I am currently failing to import PyQt4 and scip into python on my MacBook (OS Sierra), both of which I need to run a different program. However, now, when I run make (step 16) I am receiving this error: Then, I continued and the command from step 15 executed without a problem. I was able to fix that error by commenting out some lines in PyQt5 configure.py as instructed here. Error: This version of PyQt5 and the commercial version of Qt have incompatible licenses. This is the GPL version of PyQt 5.7.1 (licensed under the GNU General Public


Which worked like a charm all the way up to step 15.ĭuring step 15 however, I received the error: Sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Then I found this post on Stack Overflow. The file ~/Qt5.3.2/5.3/clang_64/mkspecs/qdevice.pri however did not contain any !host reference and simply adding it myself did not help. Ok, this worked for my macOS 10.12.2 / Qt 5.80 / PyQt5.7.1 / sip 4.19 / Python3.5 installation up until step 13. python3 configure.py -destdir /Library/Frameworks/amework/Versions/3.3/lib/python3.3/site-packages -qmake ~/Qt5.3.2/5.3.2/clang_64/bin/qmake python3 configure.py -d /Library/Frameworks/amework/Versions/3.3/lib/python3.3//site-packages -arch x86_64ġ3. Go to your downloads by terminal (for example, "cd ~/Downloads")ĩ.
Pyqt4 download for mac for mac#
Download "" or any other new version of qt for mac and install it.ĥ.

Define your python3 directory (for example, "/Library/Frameworks/amework/Versions/3.3/lib/python3.3/site-packages/")Ģ.
