Pyqt error: qmake is not an executable



  • Hey

    I am trying to install pyqt but getting:

    @configure.py: error: '/Users/Chris/Qt5.4/5.4/clang_64/bin/qmake' is not an executable@

    I am following the instructions on a site which tells me to:

    @ cd /var/tmp
    cp /Users/gvincent/Downloads/PyQt-gpl-5.2.1.tar.gz .
    cp /Users/gvincent/Downloads/sip-4.15.5.tar.gz .
    tar xvf PyQt-gpl-5.2.1.tar.gz
    tar xvf sip-4.15.5.tar.gz
    cd sip-4.15.5/
    python3 configure.py -d ~/.env/ariane_mail/lib/python3.4/site-packages --arch x86_64
    make
    sudo make install
    sudo make clean
    cd ../PyQt-gpl-5.2.1/
    python3 configure.py --destdir ~/.env/ariane_mail/lib/python3.4/site-packages --qmake ~/Qt5.2.1/5.2.1/clang_64/bin/qmake
    make
    sudo make install
    sudo make clean
    ~/.env/ariane_mail/bin/python -c "import PyQt5"**@
    The part thats giving me the error is the

    @python3 configure.py --destdir ~/.env/ariane_mail/lib/python3.4/site-packages --qmake ~/Qt5.2.1/5.2.1/clang_64/bin/qmake
    @



  • I would check the permissions on qmake. Make sure the executable bit is set. Using Finder, CMD I on the file and verify it says 'Unix Executable File'.

    It is obviously OS X but the location it is in wouldn't be typical for an executable that was installed (nothing says it can't be there mind you).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.