Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. pyqt5-tools pip install crashes Qgis 'couldn't load sip module. Python support will be disabled'

pyqt5-tools pip install crashes Qgis 'couldn't load sip module. Python support will be disabled'

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qt for pythonpythonqgispyqt5qtlinguist
2 Posts 2 Posters 1.2k 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.
  • H Offline
    H Offline
    hcroope
    wrote on 6 Oct 2020, 09:53 last edited by
    #1

    Hopefully this is the 'correct' place to post this.

    I pip downloaded (with my conf: python -m pip install pyqt5-tools) pyqt5-tools (using Qgis 3.10.10 and 3.10.7 Coruña) and it seems to cause Qgis to crash while starting up python ('couldn't load sip module. Python support will be disabled'). Fastest fix I managed to find was just to reinstall Qgis. Some background: I'm using python that came with Qgis by copying 'python-qgis-ltr.bat' to 'python.bat' (in /bin) and adding bin path to PATH. Also, downloading pyqt5-tools to use QtLinquistic and pylupdate5 path/translate.pro AND lrelease path/file_lang.ts

    The SIP subroutine could not be loaded.
    Python support is not available.
    ...
      from PyQt5.QtCore import *
    ImportError: DLL load failed: The specified procedure cannot be found.
    

    *translator used

    J 1 Reply Last reply 6 Oct 2020, 18:27
    0
    • H hcroope
      6 Oct 2020, 09:53

      Hopefully this is the 'correct' place to post this.

      I pip downloaded (with my conf: python -m pip install pyqt5-tools) pyqt5-tools (using Qgis 3.10.10 and 3.10.7 Coruña) and it seems to cause Qgis to crash while starting up python ('couldn't load sip module. Python support will be disabled'). Fastest fix I managed to find was just to reinstall Qgis. Some background: I'm using python that came with Qgis by copying 'python-qgis-ltr.bat' to 'python.bat' (in /bin) and adding bin path to PATH. Also, downloading pyqt5-tools to use QtLinquistic and pylupdate5 path/translate.pro AND lrelease path/file_lang.ts

      The SIP subroutine could not be loaded.
      Python support is not available.
      ...
        from PyQt5.QtCore import *
      ImportError: DLL load failed: The specified procedure cannot be found.
      

      *translator used

      J Offline
      J Offline
      JonB
      wrote on 6 Oct 2020, 18:27 last edited by
      #2

      @hcroope
      For PyQt question you might ask at: https://riverbankcomputing.com/mailman/listinfo/pyqt

      1 Reply Last reply
      0

      2/2

      6 Oct 2020, 18:27

      • Login

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