Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Pyqt error: qmake is not an executable
Forum Update on Monday, May 27th 2025

Pyqt error: qmake is not an executable

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cmeek.dev
    wrote on 22 Feb 2015, 13:23 last edited by
    #1

    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
    @

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rondog
      wrote on 22 Feb 2015, 17:02 last edited by
      #2

      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).

      1 Reply Last reply
      0

      1/2

      22 Feb 2015, 13:23

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved