Questions tagged [python-sip]

SIP is a python library used to port native C/C++ APIs into Python. SIP was originally written to manage the complex interfaces required by PyQT; however, it has general usage for anyone wishing to port C/C++ code into Python.

SIP is a python library used to port native C/C++ APIs into Python. SIP was originally written to manage the complex interfaces required by PyQT; however, it has general usage for anyone wishing to port C/C++ code into Python.

138 questions
3
votes
0 answers

RuntimeError: the sip module implements API v11.0 to v11.2 but the module requires API v12.0

So I am facing this error: RuntimeError: the sip module implements API v11.0 to v11.2 but the module requires API v12.0 I believe this has been answered a few times on the web for different versions of sip and PyQt4, however, I could not find any…
3
votes
1 answer

Error installing PyQt 5.4.2: sip api reference

I need help trying to figure out why I am having this error: [everything fine until here...] In file included from sipQtCoreQTimeZoneOffsetData.cpp:24:0: /home/hugo/Desktop/my_pyqt_examples/PyQt-gpl-5.4.2/QtCore/sipQtCoreQTimeZoneOffsetData.cpp: In…
Hugo
  • 557
  • 4
  • 13
3
votes
1 answer

No module named sip when running QGIS from Python

I have QGIS Valmiera 2.2.0 installed and started a simple python script using this documentation. I had a hard time because always when I used from qgis.core import * I got the message ImportError: No module named qgis.core. I fixed that with the…
ulrich
  • 1,431
  • 3
  • 17
  • 46
3
votes
2 answers

Building the SIP (PyQt) on Windows

In attempt to build sip from source packages, I have the infinite loop on a building step. I run make.exe and it takes the following steps unitl I press Ctrl+Brake: cd sipgen make make[1]: Entering directory `C:/sip' cd sipgen make make[2]: Entering…
3
votes
1 answer

Cannot find sip.h when installing pyQt4

I'm trying to install PyQt-x11-gpl-4.11 in my ubuntu 13.04 Linux vm, configure-ng.py ran well but when using make, it prompts below error message,** root@ubuntu:/home/yanwang/Downloads/PyQt-x11-gpl-4.11# make cd QtCore/ && make -f Makefile…
user3803631
  • 31
  • 1
  • 2
3
votes
1 answer

How to cross compile SIP / PyQt5 on a Raspberry pi

I've just cross compiled Qt5.2.1 on the rapsberry pi. I can't find out any information regarding SIP / PyQt5 cross compile on Raspbian wheezy. I tried to compile sip / PyQt5 on the Raspberry. Sip / Qt5 on Raspberry pi Sip builds fine but as there's…
Emmanuel BRUNET
  • 1,286
  • 3
  • 19
  • 46
3
votes
1 answer

VoIP point to point Python H.323

I would like to stream audio both ways between 2 computers using Python and Ubuntu, ideally using H.323 I have looked at pjsip but can only see a way of connecting to SIP servers not a simple point to point system. Can anyone point me in the right…
2
votes
1 answer

RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtCore module requires API v7.1

I manually installed PyQt-4.9.1 and sip-4.13.2 under /tmp/yifli because the ones currently installed on the machine (running Fedora 13) are too old for my software. After that, I added their locations to $PYTHONPATH and here is the output of…
user11869
  • 1,083
  • 2
  • 14
  • 29
2
votes
1 answer

How to use QTermWidget with PyQt5?

I am trying to install https://github.com/lxqt/qtermwidget so that I can have a terminal widget to use with PyQt5. However, it does not seem to be possible to install without building myself, and when I try follow the instructions to build it…
Mr User
  • 205
  • 1
  • 5
2
votes
1 answer

How to specify indices as void * to glDrawElements with PyQt5 OpenGL

I want to call glDrawElements on the same element buffer object more than once, where each draw call accesses different parts of the element buffer object. So, out of many ways possible, in C/C++, one of them was to set the void * indices argument.…
Jaswant P
  • 83
  • 1
  • 8
2
votes
1 answer

How can I give extra compiler parameters with SIP 5?

Trying to build Python bindings with SIP 5. But I can't figure out how I pass parameters to the compiler. In SIP 4.x, there could be extra options to the compiler set in configure.py by doing makefile = sipconfig.SIPModuleMakefile(config,…
Greger
  • 128
  • 4
2
votes
0 answers

no module named sip on venv

I installed PyQt4 in python-2.7 and I have this code: import sys from PyQt4.QtGui import * app = QApplication(sys.argv) button = QPushButton("Hello World", None) button.show() app.exec_() and the error appears from PyQt4.QtGui import…
Ivan Solis
  • 21
  • 1
2
votes
1 answer

Pycall throws ValidationError

I'm trying to run these lines of code in atom and python3.6 : from pycall import CallFile, Call, Application import sys def call(): c = Call('SIP/200') a = Application('Playback', 'hello-world') cf = CallFile(c, a) …
2
votes
1 answer

Installing PyQt5 from sources: Unable to import PyQt5.sip

I'm trying to build PyQt5 from the sources. I'm running fedora 28 and I installed Qt5 via dnf. Installing Sip following this seems OK. But when i try to configure PyQt i got this error: # python3 configure.py -q /usr/bin/qmake-qt5 Querying qmake…
beni
  • 105
  • 3
  • 9
2
votes
1 answer

PyQt built on Windows: DLL load failed: The specified procedure could not be found

I've tried to build PyQt from sources (with binary Qt 5.8.0 downloaded) on my Windows 7x64. I did it by this tutorial: https://stackoverflow.com/a/40779370/2726900 I've entered Visual Studio 2015 Command Prompt, activated vcvarsall.bat amd64,…
Felix
  • 3,351
  • 6
  • 40
  • 68
1 2
3
9 10